Releases: xp-framework/compiler
Releases · xp-framework/compiler
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)
1.2.0: Import aliases
1.1.2: Interop fix with xp-forge/partial
1.1.1: Map initialization fix
- Fixed map initialization with keys consisting of complex expressions
(@thekid)
1.1.0: Traits
1.0.0: Parameter annotations
- Indexed type members by name; implementing feature suggested in #10
(@thekid) - Heads up: Implemented syntax for parameter annotations as stated
in issue #1 - alongside the parameter; no longer in its "targeted" form
$param: inject
as in xp-framework/rfc#218
(@thekid) - Added support for keywords as methods in PHP 5.6 - @thekid
- Implemented xp-framework/rfc#326: Cast and nullable types - @thekid
- Added support for casting value and array types - @thekid
0.9.1: Promoted arguments fix
- Fixed promoted argument types not being recorded - @thekid