diff options
author | Flavian Kaufmann <flavian@flaviankaufmann.ch> | 2025-05-22 11:32:03 +0200 |
---|---|---|
committer | Flavian Kaufmann <flavian@flaviankaufmann.ch> | 2025-05-22 11:32:03 +0200 |
commit | be21cdaa9f408535379360b401089c8e2335e818 (patch) | |
tree | c271335e930e3da3244c69503980581a340c3cf2 /README.md | |
parent | fba0e505aaa067d3e19849536aa0142ab6fe187d (diff) | |
download | imp-be21cdaa9f408535379360b401089c8e2335e818.tar.gz imp-be21cdaa9f408535379360b401089c8e2335e818.zip |
print ast
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 ``` |