This directory contains:
norvig/: Norvig'slis.pyunchanged, andlispy.pywith minor changes to run on Python 3, and thelispytest.pycustom test script;py3.9/:lis.pywith type hints and a few minor edits—requires Python 3.9;py3.10/:lis.pywith type hints, pattern matching, and minor edits—requires Python 3.10.
The py3.9/ and py3.10/ directories also have lis_test.py to run with
pytest.
These files include all the
lis_tests suite
from norvig/lispytest.py,
and additional separate tests for each expression and special form handled by evaluate.