Latest commit
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Build the source: make Run the program to show lexer output: java -cp bin:lib/java-cup-11b-runtime.jar Main show-lexing input_file If you have Graphviz installed, you can generate a picture of the parser output: java -cp bin:lib/java-cup-11b-runtime.jar Main show-parsing input_file | dot -Tpng > parser.png On Microsoft Windows, you will need to write "bin;lib/java-cup-11b-runtime.jar" instead of bin:lib/java-cup-11b-runtime.jar i.e., quote the classpath and use a ; instead of :.