views:

493

answers:

2

So, it seems like Happy is a robust replacement for yacc in Haskell. Is there an equally robust lexer generator to replace lex/flex?

+6  A: 

Alex? http://www.haskell.org/alex/

Dave
+3  A: 

Happy : Yacc :: Alex : Lex

Or use one of a gazillion parser and lexer combinator libraries.

Don Stewart