Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1417

Create a Gremlin language subset that is easy to implement on any VM

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Do
    • Affects Version/s: 3.2.1
    • Fix Version/s: None
    • Component/s: process
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                okram Marko A. Rodriguez
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: