Conversation
Add relative imports Make it Python 3.5+ compatible. Also adds __hash__() definition for Symbols having __eq__
Needed for python2/3 compatibility
Binary files must not be treated as text ones. Also make the code compatible with python 3.5+
Uses /usr/bin/env python in main executables shebang lines (in other places is not relevant). This way we avoid problems using python out of current virtualenv.
Defaulted states cause ZX Basic to fail. Fortunately this can be disabled. https://github.com/dabeaz/ply/blob/master/CHANGES
Ply removed from distribution
Uses bytes (not strings) for output.
Uses __eq__ and others instead, to make the code py2 and py3 compatible. Also adds capability to directly use + / - with a number instance, for code simplication.
Also uses super() instead of calling the base class directly.
When comparing the argument to another instance, ensure it's a Symbol instance. No other thing can be an argument.
Also adds OPTIONS.debugger to zxbparser.
Needed for convergente from py2 to py3
Needed for convergence from py2 to py3
Also make it PEP-8 compliant
Fixes potential bug that might allow dupe elements under some circumstances.
This make the output identical among different python versions (2 and 3), this making testing easier.
This make the output identical among different python versions (2 and 3), this making testing easier.
When importing test.py as a module, it might crash as ZXBASIC ROOT was not global as a module. Fixed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.