XP language is a feature-rich, typed and compiled programming language, based on the popular PHP language and designed to syntactically support features of the XP Framework. The source you write and compile with it can make use of the XP Framework's foundation classes. As the language itself is written in the XP Framework, no binary or proprietary extensions are needed!

Show me some source!

The famous "Hello World" program as written in XP Language:


  public class HelloWorld {
    public static void main(string[] $args) {
      util.cmd.Console::writeLine('Hello, World!');
    }
  }



Documentation

Quick start

[Overview and getting started]

Design goals

[Why we created XP]

Language features

[From annotations to varargs]

The compiler

[xcc]

CodeDOM

[Dynamically create types]