Ebnf2ps generates nice looking syntax diagrams in EPS and FIG format from EBNF specifications and from yacc, bison, and Happy input grammars. The diagrams can be immediatedly included in TeX/LaTeX documents and in texts created with other popular document preparation systems.
Ebnf2ps is written in Haskell98, a lazy functional programming language.
NEW 20100629: compiles with GHC 6.10.3