Changes
Changes History
0.3.0 to 0.4.0
- All variables and parameters must be typed, unless they are assigned to a value when first seen in code and are then of type 'any'.
- Add the 'reflect(something)' method for reflection.
- Remove the 'enum' keyword added by error: the real name is 'enumerated'.
- Add default values for the last parameters of a function (optional parameters).
- Add named arguments for function calls.
- Add support for first-class functions (function variables), named function references, and lambda expressions (
=> syntax).
0.2.0 to 0.3.0
- Remove newlines from automatic end-of-statement list. A statement ends at end of line only if syntactically correct.
- Remove completely newlines from end-of-statement list.
- Correct structures top bindings.
- Correct standalone variable declaration.
- Add recursive triggering.
- Add
/* ... */ multiline and part-of-line comments.
- Allow single expressions for
on.
- Disconnect triggers during construction of a structure instance.
- Correct line number on exceptions.
on (…) commands must not run during the constructor or in methods.
- Add a C++ reflection access extension.
0.1.0 to 0.2.0
- Add optional types for variables, fields, function parameters and return.
- Create a C++ base class (FahrenheitObject) for all elements.
- Add the bindings concept (using
variable := expression).
- Add triggers for looking on value changes, with
on( boolean expression) { block } and on (variable changed) { block }.
- Add C++ extensions the possibility to create bindings.
- Add
super keyword.
- Add
instanceof boolean testing.
- Add multiple possible types for fields, parameters and return type.
- Add extended Standard Library (I/O, dates, strings, math, exit, timeouts).
- Add Math extension with trigonometric, exponential, and rounding functions.
- Add Regex extension for pattern matching, replacing, and splitting strings.
- Add JSON extension for parsing and stringifying data structures.
- Add
isbound boolean testing.
- Expand function capabilities to accept variable-length argument lists using the varargs
... syntax.
- Corrections for
break use.
- Corrections on Bindings and Triggers use.
Before version 0.1.0
This part is not documented.