diff options
-rw-r--r-- | README.md | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -28,15 +28,15 @@ Binaries will be dumped in the "build" folder. Once you have built the parser, it can be invoked in the build folder with `./parse`. The cli options are as follows: - - `-writelevel <0, 1, or 2>` tells the parser at what stage it should stop parsing and output a file. - - `0` will output the list of tokens generated by the tokenizer. - - `1` will output the Abstract Syntax Tree as generated by the parser. - - `2` will output a "virtual program". This is what the interpreter acts on. - - The default value is `1` +- `-writelevel <0, 1, or 2>` tells the parser at what stage it should stop parsing and output a file. + - `0` will output the list of tokens generated by the tokenizer. + - `1` will output the Abstract Syntax Tree as generated by the parser. + - `2` will output a "virtual program". This is what the interpreter acts on. + - The default value is `1` - - `-in <file>` tells the parser what file to parse. This is the only manditory option. +- `-in <file>` tells the parser what file to parse. This is the only manditory option. - - `-out <file>` tells the parser where to write the data. The default is `out.tnt`. +- `-out <file>` tells the parser where to write the data. The default is `out.tnt`. ### Other notes |