Skip to content

Releases: alec-jensen/firescript

0.3.0

12 Sep 16:37
dc1f0d6

Choose a tag to compare

0.3.0 Pre-release
Pre-release

Breaking Changes

  • int type is a native int again.
    • The int type is now a native int64_t type 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.

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, and else statements.
    • Better support for nested conditional statements.
  • Enhanced print function:
    • The print function correctly prints all primitive types.

0.2.0

08 May 16:23
fd9541e

Choose a tag to compare

0.1.1

06 May 18:41
3bcdd92

Choose a tag to compare

0.1.1 Pre-release
Pre-release

Version 0.1.1 of firescript