diff --git a/README.md b/README.md index 27f7dc6..980e572 100644 --- a/README.md +++ b/README.md @@ -36,3 +36,14 @@ What is it? ### Run * npm run start + +* the console has code completion, but right now it's limited: only once there is only 1 alternative, +you can press tab to complete. +* the interpreter is based on 'Lox' from the 'Crafting Interpreters' book. +* use `var` to declare a variable +* `print(...)` prints to the console +* statements must end with ';' (//TODO remove) +* not yet: + * loops + * branching + diff --git a/index.html b/index.html index 0c4897f..19f56e7 100644 --- a/index.html +++ b/index.html @@ -4,22 +4,9 @@
-