aboutsummaryrefslogtreecommitdiff
path: root/examples/repl.stem
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2024-01-07 22:48:35 -0800
committerPreston Pan <preston@nullring.xyz>2024-01-07 22:48:35 -0800
commit22eb9a274386c7fbc5cdee2b86f621c44fd823e2 (patch)
treea215e21bf18d75914b9edd568a0da6a8b49ac2d0 /examples/repl.stem
parent5907934e467bf28291901ed3595125ef1ed724d9 (diff)
forgot what i did lol
Diffstat (limited to 'examples/repl.stem')
-rw-r--r--examples/repl.stem5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/repl.stem b/examples/repl.stem
index 7f2010f..1468835 100644
--- a/examples/repl.stem
+++ b/examples/repl.stem
@@ -1 +1,4 @@
-loop [ "> " . read strquote eval loop ] func loop
+"./stdlib.stem" fread strquote eval
+"./math.stem" include
+
+repl [ "> " . read strquote eval repl ] func repl