dmsc / fastbasic

FastBasic - Fast BASIC interpreter for the Atari 8-bit computers
GNU General Public License v2.0
134 stars 20 forks source link

output minified listings #63

Closed kimslawson closed 2 months ago

kimslawson commented 1 year ago

A parser enhancement to minify fastbasic listings would be nice (ala tbxlparser/basicparser). As @dmsc mentioned in a direct message, fastbasic currently provides the reverse functionality (expanding abbreviated listings). For the purposes of sizecoding it would be handy to automate the minification.

dmsc commented 1 year ago

This is planed, but not right now as it is not as easy to implement cleanly as it seems.

dmsc commented 2 months ago

This is now implemented in a760378502c6c579a904553a4dfc39f1160bdeb2 and c7ffebd1f4e79a04bb48bb136331a2e29de31644 , use -ls:120 for a 120 char per line, -ls:255 for 255 char length.

Have Fun!