From 1f959551fc375c71d2581b556b6161a2f5343b03 Mon Sep 17 00:00:00 2001 From: Emi Simpson Date: Fri, 15 Mar 2024 19:52:59 -0400 Subject: [PATCH] Add compilation instructions to README --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index a8c050b..3f9e947 100644 --- a/README.md +++ b/README.md @@ -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