basicv2
basicv2 copied to clipboard
compact/minified basic V2 emitter
It would be nice if the compiler, once has parsed the basic source file, would emit an optimized basic V2 source, along with the machine language output.
Optimizations might include:
- removing spaces and comments
- put as much as possible tokens into a single line number
- reduce variable name lengths
- replace
0constants with.
Think of it as a minifier, similar to JavaScript uglify if you know about it.
I'll think about it when I find the time.