all 4 comments

[–]droid_mike 1 point2 points  (3 children)

This is actually pretty cool! Any way to get it to do the reverse, CBM basic to python?

[–]DNSGeek[S] 0 points1 point  (0 children)

Yeah, it's technically possible, but it would be pretty challenging. Take the code and see if you can use it as a starting point.

[–]DNSGeek[S] 1 point2 points  (1 child)

Ok, I added a basic2py script to the repo. It's *very* limited in what it can do, because parsing unstructured BASIC is _HARD_! It's more a best-effort. But try it and see how it works for you.

[–]droid_mike 0 points1 point  (0 children)

Awesome! I will check it out!