An RPAL (Right-reference Pure Applicative Language) Compiler implemented in Java, built as part of a Programming Languages project.
This compiler takes RPAL source code as input and produces an Abstract Syntax Tree (AST), a Standardized Tree (ST), and further generates control structures for the CSE (Control Stack Environment) Machine.
RPAL-INTERPRETER/
├── src/
│ └── main/java/ # Source code
│ └── test/java/ # Unit test code
├── out/ # Compiled .class files
├── Makefile # For compiling and running
├── myrpal.exe # Windows executable
- Java JDK (21 or later)
make
utility
make
make runfile FILE=path/to/input
make runast FILE=path/to/input
make runst FILE=path/to/input
make clean
For Windows users, a precompiled executable is included.**
- Version: v1.0.2
- Executable: myrpal.exe
- Release Date: June 2025
- Requirements: JDK 21+
.\myrpal.exe file_name
.\myrpal.exe -ast file_name
.\myrpal.exe -st file_name
Make sure your system has Java installed (JDK 21 or later) and myrpal.exe is in the same folder as the input file or added to your PATH.