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

Add a :translate command to Gremlin Console

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.4.8
    • None
    • console, translator
    • 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

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

            Dates

              Created:
              Updated: