KengoTODA / dynjs

(almost) 100% invokedynamic js impl

Home Page:http://dynjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 dependencies

1. download and install **[jitescript]**
1. download and install **[invokebinder]**

Getting started

Building from sources

  1. fetch the dependencies: jitescript and invokebinder
  2. git clone https://github.com/dynjs/dynjs.git && cd dynjs
  3. mvn install
  4. Get dynjs-all.jar into dynjs/target folder

Download

Alternatively download the latest version from our CI job.

Running

Try java -jar dynjs-all.jar --help

Run the snippet below:

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

About

(almost) 100% invokedynamic js impl

http://dynjs.org

License:Apache License 2.0


Languages

Language:Java 95.3%Language:JavaScript 4.7%Language:Shell 0.0%