A powerful Python REPL calculator
GPL-3.0 License
This is a calculator with a complex source that includes a small AST, a parser and a tokenizer. This is a personal project done in 2 days to understand how operator precedence works and to practice my rusty skills of making interpreters.
This project has no external dependencies and should work with minimum
Python 3.8
and newer versions of the Python interpreter.
Just start main.py
with Python, this will create a REPL in your terminal which
you can close by typing exit
.
ast
evaluator
exception
parser
scanner
token
This calculator is licensed under GPLv3.