use:  jgen.exe < test.j
compile:  make
requires ghc 6.6.1, Alex 2.1, Happy 1.16