Skip to content
Pull request Compare This branch is even with mirah:super_fixes.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
..
Failed to load latest commit information.
appengine
README
construction.duby
edb.duby
fib.duby
fields.duby
fractal.duby
java_thing.duby
simple_class.duby
swing.duby
tak.duby
test.edb

README

Duby: A Type-Inferred Ruby-Like JVM Language

Duby is an experimental project to create a JVM bytecode compiler for a 
Ruby-like language that infers static types from argument declarations 
and called methods. It is currently under development, but may eventually
be used to implement portions of JRuby, since Duby combines the terse,
neat syntax of Ruby with the performance of statically-typed Java 
bytecode. 

To compile the samples, run the following lines:

jruby lib/ruby/site_ruby/1.8/compiler/duby/compiler.rb <filename>

And to load and call them, use JRuby's Java integration:

CLASSPATH=. jruby -rjava -e "p Java::Foo.new.fib(35)"
Something went wrong with that request. Please try again.