Skip to content

Releases: xp-framework/compiler

2.0.4: Class loading fix

19 Nov 18:54
Compare
Choose a tag to compare

2.0.3: Array and map casting fix

16 Nov 21:44
Compare
Choose a tag to compare
  • Fixed cast on array and map literals, e.g. (object)['key' => 'value']
    (@thekid)

2.0.2: Return fix

14 Nov 14:57
Compare
Choose a tag to compare

2.0.1: Comments fix

06 Nov 21:47
Compare
Choose a tag to compare
  • Fixed issue #24: Comments contain stars - @thekid

2.0.0: AST API

06 Nov 20:38
Compare
Choose a tag to compare
  • Implemented use function and use const - @thekid
  • Fixed issue #21: Comments are not escaped - @thekid
  • Project AST API:
    • Merged PR #22: Extract AST (to https://github.com/xp-framework/ast)
    • Index annotations by name
    • Split new for static and anonymous types
    • Simplified parsing and emitting loops and if/else constructs
    • Renamed Node::$arity to Node::$kind
    • Merged PR #20: Refactor signature
    • Merged PR #19: Refactor value arrays to specialized types
      (@thekid)

1.4.0: Spread operator in arrays & maps

04 Nov 18:28
Compare
Choose a tag to compare
  • Merged PR #18: Allow using unpack operator inside array literals
    (@thekid)
  • Added option to specify target version to xp compile - @thekid
  • Fixed isse #17: Comments missing from generated code - @thekid

Hack language

04 Nov 14:45
Compare
Choose a tag to compare
  • Made it possible to use <?hh as opening tag, too. This way, we are
    able to parse Hack language files.
    (@thekid)

1.2.1: Ambiguity resolution fix

31 Oct 19:43
Compare
Choose a tag to compare
  • Changed ambiguity resolution between casts, braced expressions and
    lambda to be far more robust
    (@thekid)

1.2.0: Import aliases

31 Oct 18:12
Compare
Choose a tag to compare
  • Added support for import aliases (use Type as Alias) - @thekid
  • Fixed issue #16: Enums broken - @thekid

1.1.2: Interop fix with xp-forge/partial

31 Oct 17:01
Compare
Choose a tag to compare
  • Fixed issue #15: Interop with xp-forge/partial broken - @thekid