In my imminent compiler construction course I'll be using
Andrew Appel's book "Modern compiler implementation in ML",
which uses ML-Lex and ML-Yacc, which are a part of the
SML/NJ distribution.
Now of course I'd like to encourage the use of Hugs/Haskell,
especially since many of the students knows Haskell (but not ML)
to begin with ...
Q: does anyone know if there's a port of this stuff to Haskell?
Note that I'm not after a nondeterministic SLR parser (Ratatosk),
or some such .... For pedagogical reasons I'd lite the tools
to be as similar as possible to Yacc/Bison/ML-Yacc, etc.
-- Thomas Johnsson