Skip to content

Add Python version#6

Open
dtwilliamson wants to merge 5 commits intodakk:masterfrom
dtwilliamson:python
Open

Add Python version#6
dtwilliamson wants to merge 5 commits intodakk:masterfrom
dtwilliamson:python

Conversation

@dtwilliamson
Copy link
Copy Markdown

@dtwilliamson dtwilliamson commented Jul 6, 2023

This is a fairly straightforward port to Python made without knowledge of how the simulator works. It has nothing to do with the Commodore 64, but provides a variant of the code that may prove valuable to some. It provides some contrast to the limitations present in a 40+ year old dialect of BASIC.

More detailed variable and function names could be a next step. The functions that perform swaps could use some work. There's probably plenty of other room for improvement.

I implemented the fall-through discussed in issue #5 but if that's changed, the call to y0 can be removed from x1.

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

Successfully merging this pull request may close these issues.

1 participant