Skip to content

Releases: xp-framework/compiler

5.1.2: Promotion of by-reference parameters fix

04 Apr 14:28
Compare
Choose a tag to compare
  • Fixed promotion for by-reference arguments - @thekid

5.1.1: Operator precedence fix

29 Mar 16:20
Compare
Choose a tag to compare
  • Fixed ternary and instanceof operators' precedence - @thekid

5.1.0: PHP 8 syntax adoptions

28 Mar 15:21
Compare
Choose a tag to compare
  • Merged PR #82: Allow chaining scope resolution operator :: - @thekid
  • Merged PR #81: Allow instanceof (<expr>) as syntax - @thekid
  • Merged PR #80: Allow new (<expr>) as syntax - @thekid

5.0.0: Drop PHP5

30 Nov 11:03
Compare
Choose a tag to compare

4.3.1: XP10 compatiblity

30 Nov 08:41
Compare
Choose a tag to compare

4.3.0: Hashtag comments

24 Nov 16:20
Compare
Choose a tag to compare
  • Fixed global constants in ternaries being ambiguous with goto labels
    (@thekid)
  • Fixed emitting switch statements and case labels' ambiguity w/ goto
    (@thekid)
  • Fixed an operator precedence problem causing incorrect nesting in the
    parsed AST for unary prefix operators.
    (@thekid)
  • Merged PR #77: Add support for #-style comments including support for
    XP style annotations
    (@thekid)

4.2.1: Abstract and final types fix

05 Oct 16:44
Compare
Choose a tag to compare
  • Fixed parser to allow "extending" final and abstract types - @thekid

4.2.0: Ast subcommand

04 Oct 13:42
Compare
Choose a tag to compare
  • Fixed issue #74: No longer shadow compiler errors in certain cases
    (@thekid)
  • Merged PR #75: Add "ast" subcommand to display the abstract syntax tree
    (@thekid)

4.1.0: Annotations in anonymous classes

01 Oct 11:09
Compare
Choose a tag to compare
  • Merged PR #73: Add support for annotations in anonymous classes
    (@thekid)

4.0.0: Syntax plugins

09 Sep 21:11
Compare
Choose a tag to compare
  • Merged PR #69: Remove support for Hack arrow functions - @thekid
  • Fixed operator precedence for unary prefix operators - @thekid
  • Merged PR #66: Syntax plugins. With this facility in place, the compiler
    can be extended much like Babel.
    This is useful for adapting features which may or may not make it into
    PHP one day. Current extensions like compact methods are kept for BC
    reasons, but will be extracted into their own libraries in the future!
    (@thekid)