aboutsummaryrefslogtreecommitdiffstats
path: root/src/resp.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-12-25 00:09:34 +0000
committerDavid Robillard <d@drobilla.net>2012-12-25 00:09:34 +0000
commitbf757dcc9b66ebb3bf7e2df8e8c7d3a011ddd6dc (patch)
tree0d49ea2dced45c2535b7050ebd7deefc19bd27ac /src/resp.cpp
parent67319bf0410196787c753225f46057bc7c94beec (diff)
downloadresp-bf757dcc9b66ebb3bf7e2df8e8c7d3a011ddd6dc.tar.gz
resp-bf757dcc9b66ebb3bf7e2df8e8c7d3a011ddd6dc.tar.bz2
resp-bf757dcc9b66ebb3bf7e2df8e8c7d3a011ddd6dc.zip
Preliminary syntax-rules macro implementation.
git-svn-id: http://svn.drobilla.net/resp/trunk@443 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/resp.cpp')
-rw-r--r--src/resp.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resp.cpp b/src/resp.cpp
index 51e5ea6..c37fd3d 100644
--- a/src/resp.cpp
+++ b/src/resp.cpp
@@ -76,6 +76,7 @@ print_usage(char* name, bool error)
os << " -o FILE Compile output to FILE (don't run)" << endl;
os << " -r Enter REPL after evaluating files" << endl;
os << " -P Parse only" << endl;
+ os << " -E Expand macros only" << endl;
os << " -T Type check only" << endl;
os << " -R Reduce to simpler forms only" << endl;
os << " -C Convert to CPS only" << endl;
@@ -107,6 +108,7 @@ main(int argc, char** argv)
|| !strncmp(argv[i], "-R", 3)
|| !strncmp(argv[i], "-S", 3)
|| !strncmp(argv[i], "-T", 3)
+ || !strncmp(argv[i], "-E", 3)
|| !strncmp(argv[i], "-a", 3)
|| !strncmp(argv[i], "-g", 3)
|| !strncmp(argv[i], "-r", 3)) {