/dynjs

(almost) 100% invokedynamic js impl

Primary LanguageJavaApache License 2.0Apache-2.0

dynjs - invokedynamic-based javascript impl

Build Status

cloudbees rocks!

Bug Reports

We've got a Jira over at Codehaus. Please let us know what issues you find!

Setting up environment

Getting JDK7

OSX users can get it at java site.

Download and install it to your user(not to the entire machine) and before running mvn install run (or use Java7 as default compiler):

	export JAVA_HOME=$(/usr/libexec/java_home -v 1.7)

Getting started

Building from sources

  1. git clone https://github.com/dynjs/dynjs.git && cd dynjs
  2. mvn install -s support/settings.xml

Download

Alternatively download the latest version from our CI job.

Running

Run ./bin/dynjs --console for the REPL and try the snippet below:

var x = 1 + 1;
print(x);

For more options, run ./dynjs --help.