cup2html

Here's a JavaCup to html translator. It reads in a grammar file and spits out html. I'm sure there's one out there, but I couldn't find it.

Source:    cup2html.tar.gz
'Binary':    cup2html.jar

Here is an example of its output for this grammar. To build, use the makefile. To run

java -jar cup2html.jar <grammar>

Note: I have packaged the cup binaries into this jar file, this is probably violating the license, but I'm letting you know, so it's cool.