source-solutions / sebasic4

SE BASIC - A free BASIC interpreter written in Z80 assembly language
GNU General Public License v3.0
62 stars 6 forks source link

Create pre-processor MS BASIC compatibility layer #98

Closed cheveron closed 2 years ago

cheveron commented 2 years ago

This ticket combines previous tickets #95, #94, #93 and #92.

Before a line is tokenized, it should be parsed and substitutions made in the following cases to convert MS BASIC syntax to SE BASIC syntax:

cheveron commented 2 years ago

It's done and working, but horribly inefficient. Needs refactoring before merging into the main branch.

cheveron commented 2 years ago

Code clean up complete. Needs relocating from screen 40 section, but is good enough to include.