hetu_script 0.2.0 copy "hetu_script: ^0.2.0" to clipboard
hetu_script: ^0.2.0 copied to clipboard

outdated

Hetu is a lightweight script language for embedding in Flutter apps.

0.2.0 #

  • Analyzer can check for syntactic errors now.
  • Added IDE support for analyzer and formatter.
  • It's possible now to compile source into bytecode and at another time load and run directly (skip parsing static check and compile process).

0.1.3 #

  • Named constructor can refer to default constructor: construct name(): this()
  • Feature: Single expression function: fun add(a, b) => a + b
  • Feature: Type alias: type MyFuncType = fun (num, num) -> num

0.1.2 #

  • Added Analyzer and Formatter utility classes (WIP).
  • Added Type expression and related assignment operations.
  • Feature: Added default implementation of 'toJson' on instances.

0.1.1 #

  • Feature: Sequenced constructor calling through super classes.
  • Feature: 'super' keyword with instance method, for calling super class method.
  • Feature: 'as' & 'is' operator, with super class checking & casting.
  • Feature: Full funtion type check with parameters and return type.

0.1.0 #

  • Refactor: Changed default interpreter into bytecode machine.
  • Feature: String interpolation.
  • Feature: Now fully support nested function and literal function.
  • Feature: Added ++, -- post and pre operators, and +=, -=, *=, /= operators.
  • Feature: Full support on While, Do loops, classic for(init;condition;increment), for...in, when statement (works like switch).
  • Feature: Ternary operator: 'conditon ? true : false'.
  • Feature: Interpreter function for bind Dart Function Typedef.

0.0.5 #

  • Refactor: Migrate to null safety.
  • Feature: Literal function expression (anonymous function).
  • Feature: Named function parameters.
  • Feature: Support literal hexadecimal numbers.

0.0.1 #

  • Initial version, hello world!
43
likes
0
pub points
67%
popularity

Publisher

verified publisherhetu.dev

Hetu is a lightweight script language for embedding in Flutter apps.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

args, characters, meta, path, pub_semver, quiver, recase

More

Packages that depend on hetu_script