[Haskell-cafe] Parsing in Haskell

Simon Marlow simonmar at microsoft.com
Tue Feb 15 08:20:21 EST 2005


On 15 February 2005 10:36, Johan Glimming wrote:

> I want to implement a little algebraic specification language in
> Haskell, and I have a working C implementation available which uses
> yacc/flex.
> 
> What is the best way of replacing yacc/bison and (f)lex when migrating
> the project into Haskell?

There are yacc & lex equivalents for Haskell, in the form of Happy
(http://www.haskell.org/happy) and Alex (http://www.haskell.org/alex)
respectively.

Cheers,
	Simon


More information about the Haskell-Cafe mailing list