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.
- 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.
- 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:
(If you don't have a requirements.txt file, include any necessary libraries like tkinter or custom dependencies manually.)
- Locate the
gui.py
file in the Boompiler directory. - Once it run, choose txt file from
Java_Variables
folder. - And BOOM💥! Done :>>
If you want to learn more about python, here's the following links:
- Python Documentation: https://www.python.org/doc/
- Python Tutorial: https://www.w3schools.com/python/
- Pia Katleya Macalanda
- Juliana Mancera
- Thoby Jim Ralleta