Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 675 Bytes

Readme.md

File metadata and controls

22 lines (13 loc) · 675 Bytes

Formal Languages Assignment

00275739 - Pedro Emilio Cardouzo

00244113 - Giovani Chassot Simon

00205685 - Alexandre dos Reis Saccol

Usage:

Providing grammar and single input without spaces:

$ python main.py grammars/grammar_name.txt this_is_a_word

Providing grammar and single input with spaces (use quote marks):

$ python main.py grammars/grammar_name.txt "this is a sentence"

Providing just grammar, with inputs provided in the program:

$ python main.py grammars/grammar_name.txt

Running the program without command-line arguments, providing grammar and input within the program:

$ python main.py