aboutsummaryrefslogtreecommitdiff
path: root/examples/repl.stem
diff options
context:
space:
mode:
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