Marko A. Rodriguez created TINKERPOP-1417:
---------------------------------------------

             Summary: Create a Gremlin language subset that is easy to 
implement on any VM
                 Key: TINKERPOP-1417
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1417
             Project: TinkerPop
          Issue Type: Improvement
          Components: process
    Affects Versions: 3.2.1
            Reporter: Marko A. Rodriguez


Implementing the Gremlin VM in another language is pretty straightforward. 
However, its a lot of code.. all these steps implementations. One thing we 
could do to make it easy for database providers not on the JVM (e.g. ArangoDB 
and C) is to create "Gremlito" (Gremlin--). This language subset wouldn't 
support side-effects, sacks, match, etc. Basically, just simple traversal steps 
and reducing barrier terminals.

Thus:

* out, in, both, values, outE, inV, id, label, etc.
* repeat
* select, project
* where, has, limit, range, is, dedup
* path, simplePath, cyclicPath
* groupCount, sum, group, count, max, min, etc. (reducing barriers)

I suspect the steps above make up 90% of user traversals and all are easy to 
implement.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to