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

Add a :translate command to Gremlin Console

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.4.8
    • Fix Version/s: None
    • Component/s: console, translator
    • Labels:
      None

      Description

      As a convenience it would be nice to be able to do:

      gremlin> :translate python g.V().where(outE().count().is(2))
      ==>g.V().where(outE().count().is_(2)) 
      

      This kind of command would make it easier for someone to take a Groovy example (which is the primary way Gremlin examples are written) and convert them to a language of a user's choice.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              spmallette Stephen Mallette
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: