XPS Documentation

XPL Examples

Below are some examples of well known programs written in XPL. This is provided to give you a "picture is worth a thousand words" view of what XPS is about. Please keep in mind that the examples below are the lowest level of programming available with XPS. This is equivalent to the virtual machines assembly level instruction set. In the future, as higher order languages become available, we will update this page to include examples of those higher order languages.

Click on the links below to review each example. Your browser should display these XPL programs in XML format.

HelloWorld.xpl
Here's the traditional "C" program that prints out "Hello, World!" written in XPL
Fibonacci.xpl
Here's a program that computes fibonacci numbers and prints them out.