GitHunt
KO

kode-git/simplanplus

Compiler based on ANTLR4 grammar and implemented in Java (JDK 13.0.6). Compiler and Interpreter exam at Alma Mater Studiorum - DISI Course

SimpLanPlus

alternatetext alternatetext alternatetext alternatetext alternatetext

Compiler based on ANTLR4 gramar and implemented in Java (JDK 13.0.6). It is used to Compiler and Interpreter exam at Alma Mater Studiorum - DISI Course

Features

The system will check the following cases in the compilation field:

  • Undeclared Variables / Functions
  • Variables declared multiple times in the same environment
  • Using uninitialized variables
  • Correct use of pointers
  • Current parameters not conforming to formal parameters (including checking on parameters passed for var)
  • The correctness of types

It also controls access to "deleted" identifiers with particular
pay attention to aliasing by implementing the system.

Throughout the project, assume that programs can be recursive but not mutually recursive .


We introduced also the interpreter simulator:


A. The bytecode has instructions for a stacked machine that stores in a
appropriate register the value of the last calculated instruction

B. Implement an interpreter for the bytecode.

C. Compile and execute high-level language programs.

Authors

License

© Apache License Version 2.0, January 2004

Contributors

Latest Release

0.1.0April 20, 2022
Created April 10, 2021
Updated December 11, 2023
kode-git/simplanplus | GitHunt