aboutsummaryrefslogtreecommitdiff
path: root/stemlib/repl.stem
diff options
context:
space:
mode:
Diffstat (limited to 'stemlib/repl.stem')
-rw-r--r--stemlib/repl.stem6
1 files changed, 6 insertions, 0 deletions
diff --git a/stemlib/repl.stem b/stemlib/repl.stem
new file mode 100644
index 0000000..0131c18
--- /dev/null
+++ b/stemlib/repl.stem
@@ -0,0 +1,6 @@
+"./stdlib.stem" fread strquote eval
+"./math.stem" include
+
+# You can make your own REPL by changing the code!
+
+repl [ "> " . read strquote eval repl ] func repl