Repository navigation
Version 0.46.0
·
452 commits
to master
since this release
Demo Programs :
- Update space invaders demo to a be playable prototype with a score system
Compiler:
- Add support for global arrays
- Add support for # key (aka 102nd key)
- Functions must now declare the data type they return
- Add
breakandcontinuestatements for use in loops - Don't accept integers as boolean values
- Warn if a function returns a value that is not used by the caller
- Slight speed up for
render_charfunction - Add option to not render spaces when calling
render_char - Fix arrays so they can be deallocated properly
- Require conditional statements to be given boolean values
- Make all warning messages report the line number they belong to
- Do not allow boolean values to be bit-shifted
- Add
*= /= %=operators - Allow in-line assembly to reference variables
- Add
repeatcontrol structure - Make the "is odd" and "has addition overflowed" operators return boolean values only
- Fix
sys.ovnot being in the reserved keywords list -
Massive compiler refactor:
- Use one symbol table for variables and one for functions
- Use
letinstead ofvarto avoid issues with variable scope - Only use strict equality checks (
===operator) - Use ES5/6 syntax to make code more readable
- Set the compiler to run in JS strict mode
Prebuilt binaries:
- You must mark the .AppImage as executable otherwise it will not run.
- The .deb file exposes the command
blizzard-4for starting the app.