Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
VM and tracing JIT for Haskell (work in progress)
Haskell C++ C Python Other

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
compiler
docs
includes
mk
rts
tests
utils
.gitignore
HACKING.markdown
LICENSE
Makefile
README.markdown
TODOs.markdown
arch.h
bc.c
bc.h
bci.S
closure_types.h
closures.h
def.h
dispatch.s
gen_offs.c
info-tables.h
lambdachine.cabal
main.c
mm.c
mm.h
opcodes.h
reference-bci.c
vm.c
vm.h

README.markdown

Building

You need:

Most dependencies are on Hackage and can be installed via cabal, however, Hoopl's version on Hackage currently doesn't build with GHC 7, so you have to build that by hand:

$ cd some/temporary/directory
$ git clone http://ghc.cs.tufts.edu/hoopl/hoopl.git
$ cd hoopl
$ cabal install

Now go back to the lambdachine directory and run:

$ make install-deps
$ make boot
$ make

This should build the bytecode compiler lcc and the runtime executable, currently called interp. To run a benchmark use

$ make bench2

See the Makefile for more targets. The benchmarks are in directory tests/Bench/.

Something went wrong with that request. Please try again.