P4
1
name analysis
|
Static Public Member Functions | |
static void | main (String[] args) throws IOException |
Main program to test the C Flat parser.
There should be 2 command-line arguments: 1. the file to be parsed 2. the output file into which the AST built by the parser should be unparsed The program opens the two files, creates a scanner and a parser, and calls the parser. If the parse is successful, the AST is unparsed.