Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 1.07 KB

File metadata and controls

45 lines (34 loc) · 1.07 KB

COMP2021 Group Project - A Command-Line-Based Interpreter for Simple Programs

A Command-Line-Based Interpreter for Simple Programs

What We Make:

Using Java to make an Interpreter which can enable users to define and interpret the SIMPLE Programming Language.

Some Background about SIMPLE:

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

Programming Language:

  • Java (JDK 17)

Content:

  • Application.java
  • model
    • Simple.java
    • Parser.java
    • Data.java

Group Members:

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)