aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index 95981d5..816e4b9 100644
--- a/README.md
+++ b/README.md
@@ -36,6 +36,16 @@ going to use the llvm `C` API and build our own safe wrapper specialized for
this tutorial. The wrapper offers a similar interface as the `C++` API and is
implemented in [`src/llvm/`](src/llvm/)
+## Demo
+
+```bash
+# Run kaleidoscope program from file.
+cargo run ks/<file>
+
+# Run REPL loop, parsing from stdin.
+cargo run
+```
+
## Documentation
Rustdoc for this crate is available at