Menu File
- open a new blank grammar file
- open a new grammar file. Only ANTLR 3 grammar file are recognized by ANTLRWorks. The file must have the extension '.g'.
- : open a recently used file.
- : close the current opened grammar file.
- : save the current opened grammar file.
- : save the current opened grammar file under another name.
- export the selected diagram (syntax diagram, parse tree, AST) to various format (EPS, Bitmap image or DOT file).
- Export All Rules: export all rules syntax diagram in one file (EPS or bitmap)
- : export the current debugger events to a text file.
- : print the current grammar file. The current implementation simply prints the grammar by scaling it in order to fit the longest grammar line into the printer's page.