Archive for August, 2008
Formal Language Processing in Scala, Part 3
Saturday, August 16th, 2008This is the third part in a series of articles on formal language processing in Scala, focusing on parser combinators and language interpretation. In this part I will add a nice operator syntax and support for recursive grammars to the simple parser combinators introduced in part 2 and then move on to the parser combinators from Scala’s core library. (more…)
Formal Language Processing in Scala, Solutions to Part 2
Tuesday, August 5th, 2008Formal Language Processing in Scala, Part 2
Saturday, August 2nd, 2008This is the second part in a series of articles about parser combinators and implementing an interpreter in Scala. In this part I will focus on the development from simple hand-written parsers to parser combinators so that you can see how a combinator-based parser really works and utilize parser combinators to their full potential instead of treating them as merely a DSL for EBNF grammars. (more…)