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

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Do
    • 3.2.1
    • None
    • process
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: