Releases: alec-jensen/firescript
Releases · alec-jensen/firescript
0.3.0
Breaking Changes
inttype is a native int again.- The
inttype is now a nativeint64_ttype in the generated C code. - This change improves performance and reduces complexity in the generated code.
- Arbitrary precision integer / decimal support has been removed from the core. Future optional library packages may re‑introduce them without impacting the core compiler.
- The
New Features
- Function Definitions and Calls:
- Added support for defining functions.
- Functions can be called by their name followed by parentheses.
- Functions can accept parameters and return values.
- Example:
int add(int a, int b) { return a + b; } Changes
- Improved Variable Declaration Parsing:
- Enhanced the parser to better handle nullable and const variable declarations.
- Improved Error Handling:
- Enhanced error messages for syntax and type errors.
- More context provided in error messages to help identify issues.
- Refactored if-else parsing:
- Improved the parsing logic for
if,else if, andelsestatements. - Better support for nested conditional statements.
- Improved the parsing logic for
- Enhanced print function:
- The
printfunction correctly prints all primitive types.
- The
0.2.0
0.1.1
Version 0.1.1 of firescript