From 3d23b45a0ab381f34a2dae327e22cfa862af46ea Mon Sep 17 00:00:00 2001 From: mryouse Date: Fri, 13 May 2022 02:35:25 +0000 Subject: lists? not sure if they fully work, but somewhat --- runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runner.py') 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: -- cgit v1.2.3