aboutsummaryrefslogtreecommitdiff
path: root/runner.py
diff options
context:
space:
mode:
authormryouse2022-05-13 02:35:25 +0000
committermryouse2022-05-13 02:35:25 +0000
commit3d23b45a0ab381f34a2dae327e22cfa862af46ea (patch)
tree104bd1949d60947058b1208169b0372092b0f14c /runner.py
parente18bdec21683adfb2658359568a54a2f3f21d703 (diff)
lists? not sure if they fully work, but somewhat
Diffstat (limited to 'runner.py')
-rw-r--r--runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/runner.py b/runner.py
index f9c8a4d..6f2f8ce 100644
--- a/runner.py
+++ b/runner.py
@@ -11,7 +11,7 @@ def evaluate(items, pop):
nxt = peek(items)
if nxt is None:
return pop
- elif isinstance(nxt, NebLiteral):
+ elif isinstance(nxt, NebLiteral) or isinstance(nxt, NebList):
return evaluate(items[1:], nxt)
elif isinstance(nxt, NebSymbol):
if not nxt.name in STD: