Giter VIP home page Giter VIP logo

Comments (4)

mpollmeier avatar mpollmeier commented on July 27, 2024

That looks very promising indeed... I'll give it a try. Thanks Antonio!

On 01/06/13 18:06, vantonio wrote:

Check out this project: http://incubator.apache.org/clerezza/, they
seemed to have a working
scriptengine on
http://svn.apache.org/repos/asf/clerezza/trunk/scala-scripting/.

jar is here:
https://repository.apache.org/content/repositories/releases/org/apache/clerezza/scala/script-engine/0.1-incubating/


Reply to this email directly or view it on GitHub
#6.

from gremlin-scala.

vantonio avatar vantonio commented on July 27, 2024

it was a lucky find, let me know if i can be of any help.

from gremlin-scala.

mpollmeier avatar mpollmeier commented on July 27, 2024

First attempt: not very successful. It's built against Scala 2.8 (which
is 3 years old by now). I.e. we cannot just use it as is.

It's also based on OSGi which we don't really want. I'll see if I can
rip out what we need so we have no additional dependencies and can use
it with Scala 2.10.

Cheers
Michael

On 01/06/13 18:06, vantonio wrote:

Check out this project: http://incubator.apache.org/clerezza/, they
seemed to have a working
scriptengine on
http://svn.apache.org/repos/asf/clerezza/trunk/scala-scripting/.

jar is here:
https://repository.apache.org/content/repositories/releases/org/apache/clerezza/scala/script-engine/0.1-incubating/


Reply to this email directly or view it on GitHub
#6.

from gremlin-scala.

vantonio avatar vantonio commented on July 27, 2024

Michael, I took sometime to study the code, here are my preliminary findings:

  1. it's not built against scala 2.8, but 2.10;
  2. the rexster server only makes use of the engine's createBindings() and eval() methods which exist and work in the scala-scripting project;
  3. rexster pass in a ScriptContext every time it needs an eval(), so we don't need to worry about the "g";
  4. Getting rid of the OSGI part is easy, but we need to set the right classpath for the compiler and import all necessary jars.

I'm be working on this tonight.

from gremlin-scala.

Related Issues (20)

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.