[Haskell-cafe] Re: Parsing in Haskell

Peter Simons simons at cryp.to
Tue Feb 15 06:14:06 EST 2005


Johan Glimming writes:

 > What is the best way of replacing yacc/bison and (f)lex when
 > migrating the project into Haskell?

My favorite tool for writing parsers is this one:

  http://www.cs.chalmers.se/~markus/BNFC/

You give it a grammar in BNF notation, and it will generate
parsers and appropriate data structures for Haskell, C,
Java, etc. 

Peter



More information about the Haskell-Cafe mailing list