basicv2 icon indicating copy to clipboard operation
basicv2 copied to clipboard

compact/minified basic V2 emitter

Open nippur72 opened this issue 6 years ago • 1 comments

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 0 constants with .

Think of it as a minifier, similar to JavaScript uglify if you know about it.

nippur72 avatar May 10 '19 13:05 nippur72

I'll think about it when I find the time.

EgonOlsen71 avatar May 11 '19 11:05 EgonOlsen71