XP Language

Software Screenshot:
XP Language
Software Details:
Version: 5.0.1 updated
Upload Date: 6 Mar 16
Developer: The XP Team
Distribution Type: Freeware
Downloads: 60

Rating: 3.0/5 (Total Votes: 2)

The download package contains the language's source and a compiler.

Specially developed for the XP Framework, the XP language is based on PHP.

What is new in this release:

  • Support for HHVM and PHP7.

What is new in version 2.0.0:

  • Made available via Composer
  • Heads up: Changed minimum XP version to run the XP compiler to XP 6.0.0. It can still generated code to run on XP 5.X-SERIES, but will require 6.X-SERIES to run itself
  • Added possibility to add default values to lambda parameters.
  • Fixed compiler choking on methods with generic return types
  • Allowed omitting the parameter type inside method declarations. The type will then be set to var and will be unchecked at runtime
  • Changed syntax for lambdas from #{ $a -> $a + 1 }; to $a -> $a + 1;, after resolving the grammar conflicts the former was avoiding. The old form is still supported but will raise compile-time warnings. It will be removed in the next major release.
  • Changed PHP 5.3 emitter to emit PHP 5.3 anonymous functions for lambdas
  • Merged pull request #37 to solve issue #36: Support "new T()", "T::const" and "T::$static" inside annotations
  • Added backwards compatible emitter (-E php5.2) to create non-namespaced code for use with XP 5.8 and PHP 5.2
  • Changed default behaviour to creating namespaced code (compatible with XP 5.9 and PHP 5.3+)
  • Changed "-E" command line argument to support versions: -E name will load xp.compiler.emit.name.Emitter, -E name60 will load the class xp.compiler.emit.name.V60Emitter

Limitations:

  • As the language itself is written in the XP Framework, no binary or proprietary extensions are needed.

Similar Software

facade
facade

13 May 15

Qore
Qore

13 May 15

Processing
Processing

13 May 15

Comments to XP Language

Comments not found
Add Comment
Turn on images!