Releases: FloorTech/Floor-Basic
Releases · FloorTech/Floor-Basic
v0.1.1
Added Features
Fixes
- Changed
GOTOto start it's line index from1and not0to be more accurate.
New
- Only new instructions were added.
New Instructions
- INPUT -
no args- Sets the currently-stored value to the user's input in the console. - APPEND_VALUE -
[...string]- Adds a text-based value to the currently-stored value. - CLEAR_VALUE -
no args- Clears the currently-stored value. - ADD -
[number]- Adds a numerical value to the currently-stored value in numerical form. - SUB -
[number]- Subtracts a numerical value from the currently-stored value in numerical form. - NL -
no args- Writes a new-line character to the console. - CLS -
no args- Clears the console. - WAIT -
no args- Sleeps/waits for the currently-stored value in milliseconds, then resumes execution.
v0.1.0
Added Features
New
- FB (Floor Basic) Format -
text- Plaintext instructions, each separated by a new line. Only usable by compiler, not this program. - FBIN (Floor Basic Bin) Format -
binary- Binary instructions, generated from a compiler that takes in FB Format files. - FBP (Floor Basic Bin Package) Format -
binary- A set of FBIN Format data, but surrounded with packaging metadata. Generated by a packager from a FBIN Format file.
New Instructions
- SETVALUE -
[...string]- Sets the currently-stored value, which can be used for commands like PRINT or PX. - PRINT -
no args- Prints the currently-stored value to the console. - PX -
no args- Renders a single pixel using the colorname stored in the currently-stored value. - GOTO -
[int]- Moves execution to a line.