From be21cdaa9f408535379360b401089c8e2335e818 Mon Sep 17 00:00:00 2001 From: Flavian Kaufmann Date: Thu, 22 May 2025 11:32:03 +0200 Subject: print ast --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'README.md') 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 interpret program and exit (no args) start REPL - -h show this message + -i interpret program and exit + -a print ast + -h print this message ``` ### REPL @@ -44,6 +45,7 @@ Commands: %run interpret program %set set variable %print [] print variable, or all variables + %proc print declared procedures %help show this message ``` -- cgit v1.2.3