4 ms·
+1 for using Gremlin! Do you know of any python implementations of it? Note that Marko is the creator of Gremlin :) There are Gremlin implementations in vario
by espeed 14y ago
+1 for using Gremlin! Do you know of any python implementations of it?
Note that Marko is the creator of Gremlin :)
There are Gremlin implementations in various stages of development for almost every major JVM language:
Gremlin-Java (base implementation) - https://github.com/tinkerpop/gremlin/wiki/Using-Gremlin-through-Java https://github.com/tinkerpop/gremlin/wiki/Using-Gremlin-thro...
Gremlin-Groovy (original) - https://github.com/tinkerpop/gremlin/wiki/Using-Gremlin-through-Groovy https://github.com/tinkerpop/gremlin/wiki/Using-Gremlin-thro...
Gremlin-JavaScript - https://github.com/entrendipity/gremlin-js https://github.com/entrendipity/gremlin-js
Gremlin-Clojure - https://github.com/zmaril/ogre https://github.com/zmaril/ogre
Gremlin-Scala - https://github.com/mpollmeier/gremlin-scala https://github.com/mpollmeier/gremlin-scala
Within the next year (before the TinkerPop book comes out), it would be cool to have all the languages covered, including Gremlin-Jython and Gremlin-JRuby.
Gremlin-Java and Gremlin-Groovy are maintained by TinkerPop.
Gremlin-JavaScript, Gremlin-Clojure, and Gremlin-Scala are being developed/maintained by community members.
To create a Gremlin implementation, you essentially wrap Gremlin-Java in the target language's idiomatic style.
If you are interested in helping develop Gremlin-Jython or Gremlin-JRuby (or any other implementation currently in development), please post to the Gremlin Users Group (https://groups.google.com/forum/?fromgroups=#!forum/gremlin-users https://groups.google.com/forum/?fromgroups=#!forum/gremlin-...).
Right now most people use Gremlin-Groovy (it's the original) regardless of what language they're developing in (think of Gremlin as a domain-specific language like SQL you use in conjunction with your primary language).
For example, Bulbs (http://bulbflow.com http://bulbflow.com) is a Python library I wrote that supports Rexster, Neo4jServer, and Titan. In Bulbs, you edit Gremlin scripts in Groovy text files, and when you create a Python Graph object, Bulbs sources your Groovy files and caches the Gremlin scripts in a library so they are readily available for when you want to execute them on the server.
See http://bulbflow.com/docs/api/bulbs/rexster/gremlin/ http://bulbflow.com/docs/api/bulbs/rexster/gremlin/
- vorg 14y ago> Gremlin-Clojure, and Gremlin-Scala are being developed/maintained by community members Would be nice if other Groovy-based products like Gradle enabled a Scala and/or Clojure frontend to appeal to us who are fussier about what shell language we use.