Skip to content

Releases: xp-framework/compiler

2.11.0: Filenames in errors

11 Aug 14:59
Compare
Choose a tag to compare
  • Merged PR #54: Ensure filenames in errors reflect source files - @thekid

2.10.1: URI loading fixes

24 Jun 17:24
Compare
Choose a tag to compare
  • Fixed throw expressions with variables, e.g. () ==> throw $e;.
    (@thekid)
  • Fixed URI loading for CompilingClassLoader - this way, loading
    classes via URIs works, and thus e.g. xp test path/to/Test.php.
    (@thekid)

2.10.0: Throw expression

21 Jun 20:25
Compare
Choose a tag to compare
  • Merged PR #53: Implement throw expressions - @thekid

2.9.0: Arrow functions with blocks, goto

18 Jun 23:33
Compare
Choose a tag to compare
  • Merged PR #52: Implement "goto" statement - @thekid
  • Merged PR #50: Allow arrow functions with blocks - @thekid

2.8.0: Echo

16 Jun 23:44
Compare
Choose a tag to compare
  • Merged PR #47: Allow empty catch type to catch all exceptions - @thekid
  • Merged PR #44: Implement echo statement - @thekid

2.7.0: Compile only mode

16 Jun 19:27
Compare
Choose a tag to compare
  • Merged PR #43: Add "-n" command line option to compile only - @thekid
  • Merged PR #42: Raise errors when members are redeclared - @thekid

2.6.2: Dynamic members fix

16 Jun 13:55
Compare
Choose a tag to compare

2.6.1: String parsing fix

10 Jun 20:56
Compare
Choose a tag to compare
  • Fixed issue #41: String parsing of escapes broken - @thekid

2.6.0: Unicode escape sequences

10 Jun 17:44
Compare
Choose a tag to compare
  • Implemented support unicode escape sequences in PHP 5.6, see #38
    (@thekid)
  • Fixed issue #39: Syntax error for parameters called "function"
    (@thekid)
  • Dropped confusing way of compiling multiple sources using -b to
    strip bases. New way is to pass multiple directories directly, e.g.
    $ xp compile -o dist src/main/php/ src/test/php
    (@thekid)
  • Fixed compiling to a directory when the source path was not inside
    the current directory.
    (@thekid)

2.5.1: Line number fixes

09 Jun 22:55
Compare
Choose a tag to compare
  • Ensured line number is always present for type members. Previously,
    this was 0, leading to output formatting errors
    (@thekid)
  • Made some minor performance improvements by reusing nodes in two
    cases - return statements and assignments
    (@thekid)