-
Notifications
You must be signed in to change notification settings - Fork 897
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
Make quit() and exit() work #36
Comments
This is Issue 115 in the Google Code repo I did this as a language change making quit() and exit() flow statements. I added a unit test which nicely tests functionality and passes but the parser and symbol table unit tests are unhappy. Either this is a problem in my version of Python or I missed some detail on a step I needed to take other than regentests after adding a new unit test. Thanks in advance for any help/explanation here.
This is fixed in https://github.com/bnmnetp/skulpt/pull/39 |
I'm not sure why you are getting the symtab and trans errors. I'm also not sure how much I care... I care more about how it runs than if it generates the exact same symbol table as python2.6. I think we would have to dig into the CPython source to figure out for sure, but I wonder if this is part of the issue.
both exit and quit are not really statements. |
This reverts commit cf84bbc.
Promise epiphany
This is Issue 115 in Google Code
print "Hi"
if 1 < 10:
quit()
print "There"
The text was updated successfully, but these errors were encountered: