-
Notifications
You must be signed in to change notification settings - Fork 0
Smeb/compilers
Folders and files
| Name | Name | Last commit message | 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 :.
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published