Skip to content

kcrimson/dynjs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dyn.js - invokedynamic-based javascript impl

cloudbees rocks!

Setting up environment

  1. Download and install OpenJDK7, it's Java7 based:

    OpenJDK 7 can be downloaded at http://code.google.com/p/openjdk-osx-build/downloads/detail?name=OpenJDK-OSX-1.7-universal-20110825.dmg. 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)
    
  2. Configure and add projects dependencies:

     Jitescript can be found at https://github.com/qmx/jitescript
     	Clone it (https://github.com/qmx/jitescript.git) and run mvn install to build and add to your repository
    

Getting started

Building from sources

  1. git clone https://github.com/dynjs/dynjs.git && cd dynjs
  2. mvn install
  3. Get the jar into dynjs/target folder

Download

Alternatively download the latest version of dyn.js at https://dynjs.ci.cloudbees.com/job/dynjs/ws/core/target/dynjs-all.jar

Running

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

Run the snippet below:

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

About

(almost) 100% invokedynamic js impl

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 94.2%
  • JavaScript 5.7%
  • Shell 0.1%