You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Stephen Mallette (Jira)" <ji...@apache.org> on 2020/10/09 14:35:00 UTC

[jira] [Created] (TINKERPOP-2444) Add a :translate command to Gremlin Console

Stephen Mallette created TINKERPOP-2444:
-------------------------------------------

             Summary: Add a :translate command to Gremlin Console
                 Key: TINKERPOP-2444
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2444
             Project: TinkerPop
          Issue Type: Improvement
          Components: console
    Affects Versions: 3.4.8
            Reporter: Stephen Mallette


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

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

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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)