diff options
-rw-r--r-- | README.md | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -41,9 +41,7 @@ What (seems to) work - `else` blocks - File IO - Print statements - -What doesn't work -- Appending to arrays +- Appending to arrays `[array variable].append( [value] )` ## Usage @@ -59,6 +57,12 @@ Once you have built the parser, it can be invoked in the build folder with `./pa - `-out <file>` tells the parser where to write the data. The default is `out.tnt`. +The interpreter can be invoked in the build folder with `./tint`. The cli options are as follows: + +- `-in <path to file>` Tells the interpreter what file to interpret. This is the only manditory option. + +- `-flags <quoted list of arguments>` Arguments to pass to the interpreted program. Should be enclosed in quotes if you use multiple arguments. + ### Other notes With some of the code I've written, I'm kinda supprised that this even compiles. |