This is SCons_X10 a SCons tool for compiling and linking X10 source code. X10 is a parallel programming language being developed by IBM in association with others.

Table of Contents:


SCons comes with many tools as standard, C, C++, Fortran, D, LaTeX, etc. However there are many languages for which there is no support "out of the box". X10 is one of those languages. This tool is therefore an "add in" to provide SCons support for building applications written in X10.


You will need to clone this Mercurial repository and then possibly additionally provide some links. SCons has a number of ways of adding new tools depending on whether you want them available only for a single project, for all the projects of an individual user, or for all projects on a given system. The location to which the clone should be made depends on which of these situations you want to support.

Whichever location you choose the command will be:

$ hg clone http://bitbucket.org/russel/scons_x10 x10

the name of the target directory will become the name of the tool for your situation. In this case "x10" is the target directory name and hence "x10" will be the name of the tool.


Currently there are only two builders provided by the tool "X10Program" and "X10Classes", this is because the tool is in the very first stages of being prototyped.

The X10Program builder uses the X10 C++ toolchain to create what is essentially a native executable, though it needs some support to actually execute -- see the X10 website. The X10Classes builder uses the X10 Java toolchain to create classes that can be run using any JVM realization.

Here is an example of usage:

e = Environment ( tools = [ 'x10' ] )
e.X10Program ( 'helloWorld.x10' )
e.X10Classes ( 'helloWorld.x10' )


Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.