Skip to content

A Python-based mini compiler for analyzing Java variable declarations (int, char, boolean, double, String). It performs lexical, syntax, and semantic analysis to ensure correctness.

Notifications You must be signed in to change notification settings

PiaMacalanda/Boompiler

 
 

Repository files navigation

Boompiler💥

Watch our video presentation here: Boompiler

Boompiler is a simple Python-based mini compiler that performs lexical, syntax, and semantic analysis on Java variable declarations. It processes Java code focusing only on variable declaration and ensures correctness through various analysis stages.   

Features✨

  • Lexical Analysis: Tokenizes the input Java code and displays the tokens.
  • Syntax Analysis: Validates Java variable declarations and assignment syntax.
  • Semantic Analysis: Ensures correct type assignments for variables.

How to run the Boompiler?🤔

Prerequisites:

  • First, make sure that you have Python 3.8 or higher version installed on you system.
  • Install the required depedencies by running the following command in your terminal or command prompt:

    pip install -r requirements.txt

(If you don't have a requirements.txt file, include any necessary libraries like tkinter or custom dependencies manually.)

Launch GUI:

  • Locate the gui.py file in the Boompiler directory.
  • Once it run, choose txt file from Java_Variables folder.
  • And BOOM💥! Done :>>

Learn More💡

If you want to learn more about python, here's the following links:

Contributors📝:

  • Pia Katleya Macalanda
  • Juliana Mancera
  • Thoby Jim Ralleta

About

A Python-based mini compiler for analyzing Java variable declarations (int, char, boolean, double, String). It performs lexical, syntax, and semantic analysis to ensure correctness.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%