LL Parser is a web application that demonstrates the LL Parsing technique used by compilers to perform top-down non-recursive parsing. This project is implemented using Python for the main logic and Streamlit for the web interface.
LL Parsing, or LL(1) Parsing, is a parsing strategy used in compiler design. It reads input from Left to Right, and constructs a Leftmost derivation of the sentence (hence LL). The (1) indicates that there is a one-symbol look-ahead in the parsing process. For more details, refer to this GeeksforGeeks article.
- Python: Used for implementing the main logic of the application.
- Streamlit: Used for creating the web interface of the application.
Follow these steps to set up the project for local development:
-
Clone the repository:
git clone https://github.com/arunimabarik75/LL-Parser.git
-
Create a virtual environment inside the cloned repository:
python3 -m venv venv
-
Activate the virtual environment:
For Windows:
venv\Scripts\activate
For Linux:
source venv/bin/activate
-
Install the required libraries:
python3 -m pip install -r requirements.txt
-
Run the Streamlit application:
streamlit run home.py
The application is deployed using Streamlit Community Cloud and can be accessed here.