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