Powered by SourceForge   Home | About | Partners | Contact Us

Getting started

How to get started with contributions to XL

Build targets

To build an optimized compiler, use:

% make opt

To build a debug compiler (currently the default), use:

% make debug

To show the command lines being used during build, prefix the build target name with v- (for verbose)

% make v-debug

To measure how long the build takes, prefix the build target with timing-

% make timing-debug

To run the various tests for a given components (the rule is not always present)

% make test

Building the compilers

The XL distribution contains two top-level directories:

Building the XL2 compiler

To build the XL2 compiler, go to the xl2 directory and type make:

% cd xl2
% make

This will perform a [compiler bootstrap](http://en.wikipedia.org/wiki/Bootstrapping_(compilers) "Compiler bo

Getting started

Here is what you need to know to get started with XL:

Install

Downloading the source package using Git

Today, the best way to get an up-to-date version of XL is to directly fetch the source code using git.

% git clone git://xlr.git.sourceforge.net/gitroot/xlr/xlr

What you get in the package

The source code contains two top-level directories:

  • The xl2 directory contains the front-end for the statically-compiled XL2 programming language.
  • The xlr directory contains the dynamic XLR programming language

These two

Syndicate content