Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
ECMAScript runtime for the JVM
Java JavaScript Other
Pull request Compare This branch is 1 commit ahead, 1632 commits behind master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
etc
src
support
.gitignore
LICENSE.txt
README.markdown
TODO.markdown
pom.xml
run-repl

README.markdown

dynjs - invokedynamic-based javascript impl

cloudbees rocks!

Setting up environment

Getting JDK7

OSX users can get it at openjdk-osx-build.

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

Download

Alternatively download the latest version from our CI job.

Running

Run ./run-repl for the REPL and try the snippet below:

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

For more options, run java -jar target/dynjs-all.jar --help.

Something went wrong with that request. Please try again.