This repository was archived by the owner on Sep 9, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Timm Friebe edited this page Jun 2, 2013
·
7 revisions
Welcome to the XP Language Wiki.
XP Language is easy to start with for people coming from a PHP background. It's built on top of the excellent XP Framework and extends its functionality by supportive syntax. XP Language is object-oriented and feature-rich, supporting multiple styles of expressing yourself. XP Language is open to be compiled to various output formats. Currently the compiler offers production-ready support for emitting PHP sourcecode. The XP Compiler tracks types for all expressions, and can warn about potentially unsafe operations such as invoking non-existant methods.
Here's the typical hello world program written in XP Language and how it's compiled and run:
```groovy public class HelloWorld { public static void main(string[] $args) { util.cmd.Console::writeLine('Hello World!'); } } ``` |
```sh
$ xcc HelloWorld.xp
# [...]
$ xp HelloWorld Hello World!
TODO: These topics need to be created and filled with life!
|