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

View file

@ -23,6 +23,13 @@ OR
python3 main.py example.json # Evaluate some code and either print the results or open a REPL 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 ## Syntax Rundown