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 kn
Hi Thomas --
You are in luck: I am just about at the end of teaching a compiler
course using Appel's ML book. About 20 students used ML, and 5 used
Haskell. We provided the Haskell students with translated versions of
all of Appel's code, and in addition used Lx and Happy as lexer- and
parser-
Thomas Johnsson writes:
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.
I am using A