[ 
https://issues.apache.org/jira/browse/TINKERPOP-1207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15183601#comment-15183601
 ] 

Jason Plurad commented on TINKERPOP-1207:
-----------------------------------------

For reference, here is the [Groovy JIRA 
issue|https://issues.apache.org/jira/browse/GROOVY-7562] and the [StackOverflow 
post|http://stackoverflow.com/questions/35804832/print-out-gremlin-3-1-1-results-in-groovy-without-gremlin-console]
 that brought about the idea.

I found using {{groovysh}} interesting as compared with {{gremlin.sh}} because 
it forces you to iterate the traversal, which is what you would need to do in a 
compiled program. Then I remembered about 
[interpreterMode|http://groovy-lang.org/groovysh.html#GroovyShell-InterpreterMode],
 which is interesting because allows you to declare typed variables (useful for 
cut & paste).

> Possible improvements to interpreter mode
> -----------------------------------------
>
>                 Key: TINKERPOP-1207
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1207
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: groovy
>    Affects Versions: 3.1.2-incubating
>            Reporter: stephen mallette
>            Assignee: stephen mallette
>             Fix For: 3.1.2-incubating
>
>
> Looks like "interpreter mode", introduce in 3.1.2-incubating was built on 
> some ideas in groovy that had a bug. Might be worth trying to review that 
> code in the context of those changes.
> https://github.com/apache/groovy/pull/100



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to