Skip to content

Releases: KaramNS/MVaP-Basic-Programming-Language-Compiler

v1.0.0 - Complete Compiler Pipeline (TP1-TP8)

17 Feb 18:37

Choose a tag to compare

🚀 Initial Release: Compiler Construction v1.0.0

This is the first stable release of our Compiler Construction project, developed for the Licence Informatique compilation course. This release implements the full compilation pipeline targeting the MVaP Virtual Machine (v3.2).

✅ Features Implemented

This version supports the complete language specification, including:

  • Core Types: Arithmetic, Boolean, and rational expressions.
  • Control Flow: Conditionals (if/else) and loops (while).
  • Functions: User-defined functions with stack-based activation records.
  • Code Gen: Fully functional MVaP assembly generation.

📂 Modules Included

  • TP1-TP6: Lexical/Syntactic analysis, variables, and basic code gen.
  • TP7: Advanced control flow compilation.
  • TP8: Function calls and recursion mechanisms.

🛠 Installation & Usage

To run the compiler, ensure you have Java 8+ and ANTLR4 installed.

  1. Clone the repo or download the Source Code below.
  2. Follow the setup guide in docs/setup/run.md.
  3. Run the compiler on a .rat file:
    ./compile my_program.rat
    

Full Changelog: https://github.com/KaramNS/MVaP-Basic-Programming-Language-Compiler/commits/v1.0.0