Git Product home page Git Product logo

java_inline's Introduction

java-inline is a plugin for RubyInline that adds JVM language support. See the examples dir for a simple example of using it.

java-inline adds support for Java

scala-inline adds support for Scala.

Running example
-------------------

gem install RubyInline

and to run the example
cd examples
jruby fastmath.rb
jruby -J-Dscala.home=<your scala home> scalamath.rb

java_inline's People

Contributors

headius avatar nraychaudhuri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

java_inline's Issues

Working example?

No amount of permutations on my part -- installing/uninstalling gem 'inline', requiring it or not, explicitly requiring "../lib/java_inline.rb", etc. will make the example work.

When I do a "jgem install inline" I get a file that creates module "InLine", not "Inline" (capitalization difference to what apparently is expected below). Is there a different source for an inline gem that I should know about?

At best, I get:

/Users/dueberb/Documents/devel/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in const_missing': uninitialized constant Inline (NameError) from /Users/dueberb/Downloads/jruby-java-inline-5360bf6/lib/java_inline.rb:6 from /Users/dueberb/Downloads/jruby-java-inline-5360bf6/lib/java_inline.rb:31:inrequire'
from /Users/dueberb/Documents/devel/jruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from javamath.rb:3

Any help would be appreciated. I'd love to use this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.