aboutsummaryrefslogtreecommitdiff
path: root/tools/repl.nom
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-01-10 16:33:37 -0800
committerBruce Hill <bruce@bruce-hill.com>2019-01-10 16:35:08 -0800
commit0f0fb2256a46a8808794d7d4746d112278da3730 (patch)
tree7cfb6b255beeb49705044876913e0332376b66d9 /tools/repl.nom
parentdb552f56dc1f2c6ea19a7d39d38ac66e52ed156e (diff)
Major overhaul of how modules and environments work, along with some
steamlining and tweaks to the makefile. Version bump: 6.14.13.8
Diffstat (limited to 'tools/repl.nom')
-rwxr-xr-xtools/repl.nom10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/repl.nom b/tools/repl.nom
index 58a24d3..175d068 100755
--- a/tools/repl.nom
+++ b/tools/repl.nom
@@ -2,8 +2,8 @@
#
This file defines a Read-Evaluate-Print-Loop (REPL) for Nomsu
-use "lib/consolecolor.nom"
-use "lib/os.nom"
+use "lib/consolecolor"
+use "lib/os"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -44,7 +44,7 @@ repeat:
spoof file $buff
try:
$tree = ($buff parsed)
- ..if it fails $err:
+ ..if it fails with $err:
say $err
do next
@@ -54,7 +54,7 @@ repeat:
for $chunk in $tree:
try:
$lua = ($chunk as lua)
- ..if it fails $err: say $err
+ ..if it fails with $err: say $err
unless $lua:
do next
@@ -65,7 +65,7 @@ repeat:
$lua, remove free vars
try:
$ret = (run $lua)
- ..if it fails $err: say $err
+ ..if it fails with $err: say $err
..if it succeeds:
if (type of $ret) is:
"nil":