aboutsummaryrefslogtreecommitdiff
path: root/examples/repl.stem
diff options
context:
space:
mode:
authorPreston Pan <preston@nullring.xyz>2024-01-05 16:10:56 -0800
committerPreston Pan <preston@nullring.xyz>2024-01-05 16:10:56 -0800
commit966905fba74407dfc4086674ecf199f20e2683fb (patch)
treedbda47343176e600fe2122199659fa17a98ab21a /examples/repl.stem
parent914ac561dd29f976e86938a237b4e1140b77761e (diff)
fix memory leaks; no error until exit
Diffstat (limited to 'examples/repl.stem')
-rw-r--r--examples/repl.stem2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/repl.stem b/examples/repl.stem
new file mode 100644
index 0000000..30efb40
--- /dev/null
+++ b/examples/repl.stem
@@ -0,0 +1,2 @@
+"Welcome to the REPL; exit to exit" .
+loop [ "> " read evalstr loop ] func loop