Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NameError in twtl.py #6

Open
dishakamale opened this issue Oct 27, 2020 · 0 comments
Open

NameError in twtl.py #6

dishakamale opened this issue Oct 27, 2020 · 0 comments

Comments

@dishakamale
Copy link
Collaborator

When I run twtl.py on branch feature/port_antlr4, I get the following error:

Traceback (most recent call last):
  File "examples_tcs.py", line 137, in <module>
    case1_synthesis(phi, '../data/ts_synthesis.yaml')
  File "examples_tcs.py", line 43, in case1_synthesis
    _, dfa_0, dfa_inf, bdd = twtl.translate(formula, kind='both', norm=True)
  File "/home/disha/Lehigh/twtl_antlr4/twtl/twtl/twtl.py", line 259, in translate
    ast = TWTLAbstractSyntaxTreeExtractor().visit(t)
NameError: global name 't' is not defined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant