-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
prio: highHigh priority issueHigh priority issuestatus: discussionTask requests further informationTask requests further information
Description
I'm not entirely sure whether this is intended but I just stumbled upon this.
When using the fandango python API, it is apparently not possible to use multiple Fandango() objects simultaneously. If want to use two different grammars simultaneously they end up being the same.
In the following example the grammars end up being the same.
from fandango import Fandango
grammar1 = "<start> ::= '1'+"
grammar2 = "<start> ::= '2'+"
f1 = Fandango(grammar1)
f2 = Fandango(grammar2)
assert f1.grammar != f2.grammar
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
prio: highHigh priority issueHigh priority issuestatus: discussionTask requests further informationTask requests further information