Miguel Angel Arcila Cifuentes The implementation uses Python and Replit. Te versión of python is the Python 3.12, and only standard Python libraries are utilized. The input is a context-free grammar, and the program calculates the First and Follow sets for each nonterminal. To run the code, access Replit, create a new Python repl, and copy the provided code into the main.py file. Input the gramar: 3 2 S AS A A a 3 S AB A aA a B bBc bc 2 S A A A b After setting up, run the program to see the First and Follow sets for each nonterminal. The output format includes the First and Follow sets in separate lines for each nonterminal, with cases separated by a blank line for readability.
-
Notifications
You must be signed in to change notification settings - Fork 0
ssramirezr/project-teamm
About
project-teamm created by GitHub Classroom
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published