A powerful Python REPL calculator
This is a calculator with a complex source that includes a small AST, a parserand a tokenizer. This is a personal project done in 2 days to understand howoperator precedence works and to practice my rusty skills of making interpreters. This project has no external dependencies and should work with minimumPython 3.8 and newer versions of the Python interpreter. Features Complex but small and understandable source code. Implemented in less than 450LoC Supports all basic operations (sum, substraction, multiplication, division) […]
Read more