A Command-Line-Based Interpreter for Simple Programs
Using Java to make an Interpreter which can enable users to define and interpret the SIMPLE Programming Language.
SIMPLE Programming Language Structure:
-
two data types:
- bool (true & false)
- int (range: -99999 to 99999)
-
Operators (15):
- +, -, *, /, #, ~, >, >=, <, <=, ==, !=, &&, ||, !
-
Statements (7) - a unique label & a unique name:
- variable definitions
- skips
- assignments
- conditionals
- loops
- prints
- blocks
- Java (JDK 17)
- Application.java
- model
- Simple.java
- Parser.java
- Data.java
A Group Project of OOP (COMP2021) subject - Project Group 1 at The Hong Kong Polytechnic University, made by
- Guanlin Jiang (David)
- Gabriel Conte
- Ossian Bergstrom
- Yukai Wang (Hugh)