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

Add a GremlinLangTranslator

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.5.1
    • None
    • translator
    • None

    Description

      To this point, the GroovyTranslator has been largely in line with gremlin-language in terms of the Gremlin it generates, but maybe it is worth breaking from that position. To have a succinct gremlin-language we might end up situations where we can't easily express what we want in Groovy without contorting Groovy severely with metaprogramming - we already do this to some degree with strategies. Perhaps it is best to let them each evolve separately by having a GremlinLangTranslator.

      This change would open up the idea of having Traversal.toString() or the like to have a Gremlin translation rather than the blocky bytecode or step toString() which is harder to read.

      Attachments

        Activity

          People

            Unassigned Unassigned
            spmallette Stephen Mallette
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: