diff options
author | Flavian Kaufmann <flavian@flaviankaufmann.ch> | 2025-05-22 13:23:18 +0200 |
---|---|---|
committer | Flavian Kaufmann <flavian@flaviankaufmann.ch> | 2025-05-22 13:23:18 +0200 |
commit | 6ef8829451871b534572d47312ae255dee088588 (patch) | |
tree | 3652795378f330452d8752dd9d1783a74a620d78 /README.md | |
parent | 027fc783faa9a25b373099e0e0f86d3859b7235d (diff) | |
download | imp-6ef8829451871b534572d47312ae255dee088588.tar.gz imp-6ef8829451871b534572d47312ae255dee088588.zip |
cleanup
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -34,7 +34,7 @@ All build artifacts are created in the build folder `./build`, including the imp ``` Usage: imp [ARGS] (no args) start REPL - -i <program.imp> interpret program and exit + -i <program.imp> interpret program -a <program.imp> print ast -h print this message ``` @@ -44,12 +44,12 @@ REPL: ``` IMP REPL (type IMP statements or commands starting with '%') Commands: - %quit exit - %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 + %quit exit + %run <program.imp> interpret program + %set <var> <val> set variable + %print [<var>] print variable, or all variables + %procedures list declared procedures + %help show this message ``` ## IMP |