diff options
| author | mryouse | 2022-05-12 01:58:05 +0000 |
|---|---|---|
| committer | mryouse | 2022-05-12 01:58:05 +0000 |
| commit | d75ab6f5ef14cab3c2ad3841258656e217d36043 (patch) | |
| tree | fdc1a44b17f5611168c4c7a28ed47f92a4ddaad0 /runner.py | |
| parent | bb09a338814e1ab6e77451a0cedf61341a4d75c8 (diff) | |
refactor types using inheritance
Diffstat (limited to 'runner.py')
| -rw-r--r-- | runner.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -17,7 +17,7 @@ def evaluate(items, pop): if not nxt.name in STD: raise Exception(f"no such symbol: '{nxt.name}'") this_func = STD[nxt.name] - return evaluate(items[1:], this_func[list(this_func.keys())[0]].impl) # TODO show all + return evaluate(items[1:], this_func[0].impl) # TODO show all elif isinstance(nxt, NebExpression): return evaluate(items[1:], evaluate_expression(nxt)) else: |
