Python 3 interpreter, adaptable language implementation, future compiler, more. All in nearly-pure Python.
Currently supports simple expressions and assignments. Aims to support functions, classes, and other classic Python elements.
Known to run with different versions of Python 3
- Have Python 3
- Download project
- Run
pip install pytest
if not installed already
Double-click "run_tests.bat"
Execute python -m pytest
in project directory
Evaluator - runs a series of tokens as code and returns a result
Preprocessor - changes parenthesized sequences of tokens into sublists, changes string tokens to appropriate datatype, etc
Tokenizer - returns from a file-like object a list of lists of strings matching the language's lexemes definitions
*_test.py - test for corresponding module to be picked up by pytest