[
https://issues.apache.org/jira/browse/TINKERPOP-2444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stephen Mallette updated TINKERPOP-2444:
----------------------------------------
Component/s: translator
> 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, translator
> Affects Versions: 3.4.8
> Reporter: Stephen Mallette
> Priority: Minor
>
> 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)