Skip to content

TahaMsv/IE-Git-HW

Repository files navigation

IE-Git-HW

Table of contents:

About The Project:

This project is an implementation of a Lalr1 and LL(1) top-down Parser.

ll(1): you can give input as grammer and get it's first, follow, and nullable set. it geives you parse table too.
LAlr1: it gets a table as input, and give you optimal table base on Lalr1.

(back to top)

How to run:

ll(1): First, write your grammar into the input.txt file. Then run the main function.
Lalr(1): Run the main function. The program gets n and m as table dimension. Then you should give your table to the programm. 

Input example:

input_example

Output example:

output-example

(back to top)

Contributing

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Contact me

email

(back to top)

Acknowledgments:

For a part of this project, I got help from these resources:

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages