Add compilation instructions to README

This commit is contained in:
Emi Simpson 2024-03-15 19:52:59 -04:00
parent 237c83f511
commit 1f959551fc
Signed by: Emi
GPG Key ID: A12F2C2FFDC3D847
1 changed files with 7 additions and 0 deletions

View File

@ -23,6 +23,13 @@ OR
python3 main.py example.json # Evaluate some code and either print the results or open a REPL
```
OR
```bash
python3 compile.py fibb.json # Compile some code to JavaScript
python3 compile.py fibb.json | npx uglify-js -c evaluate -m # Compile some code to JavaScript and tidy it up a bit
```
## Syntax Rundown