Source download via Subversion
Use the source, Luke.
Contents |
We're now providing the Transterpreter source via anonymous SVN download. The Subversion server provides access to the source code for the Transterpreter, the slinker, and skroc (our compiler wrapper). This server is only useful to those people who want access to the most recent version of the Transterpreter... which may, or may not, always be a good idea.
If you are not:
then this is probably not the package for you. You might try our binary packages as a starting point, instead.
The Transterpreter has been incorporated into the KRoC repository at the University of Kent. This makes sense, as KRoC is the occam-pi compiler, and the Transterpreter is the portable virtual machine for the bytecode emitted by that compiler.
So, to get the Transterpreter, we recommend you check out, build, and install the KRoC source tree.
http://projects.cs.kent.ac.uk/projects/kroc/svn/kroc/trunk/
You can access the source in a number of ways:
svn checkout http://projects.cs.kent.ac.uk/projects/kroc/svn/kroc/trunk/ kroc
To start, you'll need to get KRoC built (directions here). You'll also need MzScheme installed (to build the Transterpreter). Once you have those installed, and everything is in your path, you should be able to easily build the Transterpreter. (We will update the KRoC wiki with these instructions shortly (noted 20080812).
Drop a note to the developer mailing list if you get stuck, and we'll try sort you out (as well as update this page!).
If you're interesting in porting the Transterpreter to a new or novel piece of hardware, drop us a note. We're writing the definitive porting guide as we work through a port to the LEGO Mindstorms NXT, which is an interesting piece of hardware to port to.
In order to build the Transterpreter from the subversion repository there are a number of package dependencies which must be met. It is probably easiest installing these packages using your favourite Linux distros package manager. KRoC is not currently part of any Linux distro we know of, so you will probably have to download and compile it by hand.
| Package | Minimum version | |
|---|---|---|
| Autoconf | 2.59 | http://www.gnu.org/software/autoconf/ |
| Automake | 1.9 | http://www.gnu.org/software/automake/ |
| GCC | 4.0 | http://gcc.gnu.org/ |
| MzScheme | 372 | http://www.plt-scheme.org/software/mzscheme/ |
| KRoC | 1.5.0 | http://frmb.org/kroc.html |
Please note: The Transterpreter toolchain has not yet been ported to PLT Scheme version 4.0.x. This is not a difficult task, and is on the "to do" list (noted 20080812).