Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compact/minified basic V2 emitter #31

Open
nippur72 opened this issue May 10, 2019 · 1 comment
Open

compact/minified basic V2 emitter #31

nippur72 opened this issue May 10, 2019 · 1 comment

Comments

@nippur72
Copy link
Contributor

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.

@EgonOlsen71
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants