cpp-mython is an interpreter for the custom programming language Mython, implemented in C++. The project includes lexical analysis, parsing, runtime execution, and testing modules, providing a comprehensive environment for interpreting Mython scripts.
- Lexer: Converts raw Mython source code into a stream of tokens.
- Parser: Builds an Abstract Syntax Tree (AST) from the token stream.
- Runtime: Executes the AST, handling variables, expressions, and control structures.
- Unit Tests: Extensive testing for each component of the interpreter.