Skip to content

Releases: xp-framework/compiler

5.1.3: Allow ::class on objects

04 Apr 15:57

Choose a tag to compare

  • Allowed ::class on objects (PHP 8.0 forward compatibility) - @thekid

5.1.2: Promotion of by-reference parameters fix

04 Apr 14:28

Choose a tag to compare

  • Fixed promotion for by-reference arguments - @thekid

5.1.1: Operator precedence fix

29 Mar 16:20

Choose a tag to compare

  • Fixed ternary and instanceof operators' precedence - @thekid

5.1.0: PHP 8 syntax adoptions

28 Mar 15:21

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

Choose a tag to compare

4.3.1: XP10 compatiblity

30 Nov 08:41

Choose a tag to compare

4.3.0: Hashtag comments

24 Nov 16:20

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

Choose a tag to compare

  • Fixed parser to allow "extending" final and abstract types - @thekid

4.2.0: Ast subcommand

04 Oct 13:42

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

Choose a tag to compare

  • Merged PR #73: Add support for annotations in anonymous classes
    (@thekid)