aboutsummaryrefslogtreecommitdiff
path: root/stemlib/repl.stem
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2024-01-20 02:38:26 -0800
committerPreston Pan <preston@nullring.xyz>2024-01-20 02:38:26 -0800
commita9d6c221d7686e3055593359b02125a3f20ab3e5 (patch)
treeea9037ae83c28910f5fddf4844ffbb9563dbf94e /stemlib/repl.stem
parent640f9a3f5be5528dd4f8ed658cfe4d06d833e4c9 (diff)
add map, filter might work?
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