Releases: xp-framework/compiler
Releases · xp-framework/compiler
0.9.0: Types
- Added support for
$arg ==> $arg++
lambdas without argument braces
(@thekid) - Fixed issue #8: Member types missing for constructor argument promotion
(@thekid) - Fixed issue #7: Ternary operator broken - @thekid
- Fixed issue #6: instanceof does not resolve class names - @thekid
- Implemented support for union types, e.g.
int|float
, as supported
by this PHP RFC
(@thekid) - Implemented
array<int>
andarray<string, string>
as well as
function types (e.g.(function(int, string): string)
) as seen in
Hack's type system
(@thekid)
0.8.0: Line numbers
- Ensured line numbers are kept; this is important for tracing
warnings, errors and exceptions.
(@thekid)
0.7.0: Parameter annotations
0.6.0: Lambda capturing
- Ensured types are checked where natively supported - @thekid
- Implemented capturing locals in lambda expressions - @thekid
- Recorded property types in cached meta data - @thekid
- Implemented support for dynamic new via
new $type
- @thekid - Fixed assignment operator - @thekid
- Fixed parameter types - @thekid
- Fixed annotations not having access to class scope - @thekid
- Fixed constant emittance in PHP 7.1+ - @thekid
- Fixed trait declaration - @thekid
- Fixed issue #3: Annotations in package - @thekid
- Fixed issue #4: "xp compile" installation - @thekid
0.5.0: Scope defines cleanup
0.4.0: Annotations performance
0.3.0: Compile subcommand
- Registered
xp compile
subcommand - @thekid - Simulated
yield from
in PHP 5.6 in a limited fashion - @thekid - Added support for nullable types from PHP 7.1 - @thekid
- Implemented short
list(...)
syntax from PHP 7.1 - @thekid - Added support for anonymous classes from PHP 7.0 - @thekid
- Implemented constant modifiers from PHP 7.1 - @thekid
- Added support for comparison operator
<=>
from PHP 7.0 - @thekid - Added support for
object
typehint from PHP 7.2 - @thekid
0.2.0: PHP version specific handling
0.1.0: Hello World
- First public release - @thekid