aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorFlavian Kaufmann <flavian@flaviankaufmann.ch>2025-05-22 11:32:03 +0200
committerFlavian Kaufmann <flavian@flaviankaufmann.ch>2025-05-22 11:32:03 +0200
commitbe21cdaa9f408535379360b401089c8e2335e818 (patch)
treec271335e930e3da3244c69503980581a340c3cf2 /README.md
parentfba0e505aaa067d3e19849536aa0142ab6fe187d (diff)
downloadimp-be21cdaa9f408535379360b401089c8e2335e818.tar.gz
imp-be21cdaa9f408535379360b401089c8e2335e818.zip
print ast
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index 111d122..ca09e1b 100644
--- a/README.md
+++ b/README.md
@@ -30,9 +30,10 @@ All build artifacts are created in the build folder `./build`, including the imp
```
Usage: imp [ARGS]
- -i <program.imp> interpret program and exit
(no args) start REPL
- -h show this message
+ -i <program.imp> interpret program and exit
+ -a <program.imp> print ast
+ -h print this message
```
### REPL
@@ -44,6 +45,7 @@ Commands:
%run <path/to/file.imp> interpret program
%set <var> <val> set variable
%print [<var>] print variable, or all variables
+ %proc print declared procedures
%help show this message
```