Skip to content

ssramirezr/project-teamls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Review Assignment Due Date

> ST0270 Formal Languages and Compilers Project ♟️

Name:

  • Lina Sofía Ballesteros Merchán

Development of the final project for the subject of Formal Languages and Compilers taught at EAFIT University by prof Sergio Ramírez. design algorithms to compute the First and Follow sets for the nonterminal symbols of a given context-free grammar.

About

  • The program was executed on Windows OS.
  • The chosen language was Python.
  • The code editor used was Visual Studio Code.
  • Output is shown after having entered all the grammars.

Run The Program

Follow these instructions to run the program:

  1. Clone the project on your machine or download the ZIP file.

    git clone https://github.com/ssramirezr/project-teamls.git
  2. Go to the project directory (or wherever you stored it).

    cd project
  3. Make sure you have Python. Now you are ready to run the program.

    python --version
    
  4. Run the following in your command prompt:

    python main.py
    
  5. Enter the number of grammars to process, for example:

     1
  6. Enter the number of rules, for example:

     3
  7. Enter production rules, for example:

    C SB
  8. Check results.

    First(S) = {a}

About

project-teamls created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages