Releases: xp-framework/compiler
Releases · xp-framework/compiler
2.0.4: Class loading fix
2.0.3: Array and map casting fix
- Fixed cast on array and map literals, e.g.
(object)['key' => 'value']
(@thekid)
2.0.2: Return fix
2.0.1: Comments fix
2.0.0: AST API
- Implemented
use function
anduse 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
toNode::$kind
- Merged PR #20: Refactor signature
- Merged PR #19: Refactor value arrays to specialized types
(@thekid)
1.4.0: Spread operator in arrays & maps
Hack language
- 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
- Changed ambiguity resolution between casts, braced expressions and
lambda to be far more robust
(@thekid)