EgonOlsen71 / basicv2

A Commodore (CBM) BASIC V2 interpreter/compiler written in Java
https://egonolsen71.github.io/basicv2/
The Unlicense
84 stars 15 forks source link

compact/minified basic V2 emitter #31

Open nippur72 opened 5 years ago

nippur72 commented 5 years ago

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:

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

EgonOlsen71 commented 5 years ago

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