Skip to content
 
 

Repository files navigation

Mozart-Graal

Build Status

An implementation of Oz on top of Truffle and Graal.

The bootcompiler and Oz libraries are imported from Mozart 2.

Current Status

Early stage but the Panel and Browser are working.

The Panel On Mozart-Graal

Dependencies

  • Java 8
  • Maven 3
  • C/C++ toolchain (build-essential) for building Graal
  • Python 2.7 (for mx)
  • Ruby >= 2.2.0 (for the launcher)

Build instructions

mkdir mozart-dev
cd mozart-dev
git clone https://github.com/eregon/mozart-graal.git
cd mozart-graal
rake

It takes around 5 min to build everything.

Run with

./oz

Graal

Graal is not built by default to save time. To build it, run

rake build:graal

On recent Linux, you need to do part of the build manually, see Building JVMCI.

IDE: Scala IDE for Eclipse

Eclipse files are auto-generated for the two projects. We recommend using mozart-dev as the workspace. You can then import the projects with: File => Import... => General => Existing Projects into Workspace. Click Browse..., select mozart-graal and click Finish.

If you want to run inside Eclipse, look for the Main class in the mozart-graal project and add in the User Entries of the Classpath tab the Scala library jar, org.scala-lang.scala-library_*.jar which you can find under your Eclipse installation plugins/ directory.

About

An implementation of Oz on top of Truffle and Graal

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages