An interpreter for the RPAL (Right-reference Pedagogic Algorithmic Language), developed in Python by Group MNP (Intake 22) for the CS3513 course at the Department of Computer Science & Engineering, University of Moratuwa.
- Lexical Analysis: Tokenize input based on RPAL lexical rules.
- Parsing: Generate an AST from tokens.
- AST to ST: Convert AST into a Standardized Tree (ST).
- Execution: Run the ST on a CSE machine based on defined semantics.
- Language: Python
- Development Tools: Visual Studio Code
- Python 3.x
python myrpal.py [file_name]python myrpal.py -ast [file_name]python myrpal.py -t [file_name]python myrpal.py -ft [file_name]python myrpal.py -st [file_name]