grammar now able to match jobshop1 even with preface
This commit is contained in:
parent
632e908f95
commit
c62e012c97
3 changed files with 4 additions and 2248 deletions
|
@ -4,6 +4,6 @@ from common import grammar
|
|||
|
||||
parser = ParserPEG(grammar, "job_shop1", skipws=False,debug=True)
|
||||
|
||||
with open("./inputdata/jobshop1_noprefix.txt") as datafile:
|
||||
with open("./inputdata/jobshop1.txt") as datafile:
|
||||
inputdata : str = datafile.read()
|
||||
parse_tree = parser.parse(inputdata)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue