OCaml Assembly Other
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
arch pass all test!! May 2, 2013
docs add ppt Apr 1, 2013
src revert optimization May 8, 2013
stub pass all test!! May 2, 2013
test pass all test!! May 2, 2013
.gitignore add llvm Apr 1, 2013
LICENSE test case Apr 1, 2013
Makefile generate files Apr 1, 2013
README.mkdn update README May 2, 2013
TODO add TODO Apr 1, 2013
_oasis fix executable name May 8, 2013
_tags fix executable name May 8, 2013
build.sh update test script May 2, 2013
configure generate files Apr 1, 2013
myocamlbuild.ml fix executable name May 8, 2013
rebuild.sh add rebuild script May 2, 2013
setup.data ignore Apr 1, 2013
setup.ml fix executable name May 8, 2013

README.mkdn

MinCaml

forked from http://min-caml.sourceforge.net/

Build

LLVM

# install prerequired library
$ opam install llvm

# bulid compiler
$ git clone git@github.com:mzp/min-caml.git
$ cd min-caml
$ ./arch/to_llvm
$ make

# build hello.ml
$ ./build.sh hello && ./hello

x86/PPC/Sparc

See Changelog

Changelog

Update on July 24, 2012

  • 32-bit x86 (with SSE2, that is, Pentium IV or later) is now supported (on Linux and Cygwin); execute ./arch/to_x86 before make.

Updates on September 17, 2008

  • PowerPC is now supported (in addition to SPARC), thanks to Ms. Masuko and Prof. Asai in Ochanomizu University. You must execute either ./arch/to_ppc or ./arch/to_sparc before make.
  • The register allocator now uses a simpler algorithm. It omits the backtracking (ToSpill and NoSpill) in previous versions.