diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2017-11-14 02:51:27 -0500 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2017-11-14 02:51:27 -0500 |
| commit | 6ab0fb837e5b1cc40002037e2ed15505f99cbbe3 (patch) | |
| tree | d7fbc91d82588af74b5f4a931c7ba3344f63ab41 /tests/test_evaluator.py | |
| parent | 10dad94b84ae0a41b1ff03d6d705732834958efb (diff) | |
Macro expander.
This includes a fairly complete quasiquote system, and a complete rework of the expander.
Diffstat (limited to 'tests/test_evaluator.py')
| -rw-r--r-- | tests/test_evaluator.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_evaluator.py b/tests/test_evaluator.py index dbccbce..cb7c11c 100644 --- a/tests/test_evaluator.py +++ b/tests/test_evaluator.py @@ -13,6 +13,7 @@ from .programs import * def test_evaluator(program_result): program, result, bindings = program_result environment = Environment() - assert run(eval(program, symbol_table, None), environment) == result + macros = Environment() + assert run(eval(program, symbol_table, None), environment, macros) == result for symbol, value in bindings: assert environment[symbol] == value |
