spmallette commented on a change in pull request #988: TINKERPOP-2050 Added :bytecode command URL: https://github.com/apache/tinkerpop/pull/988#discussion_r231487502
########## File path: docs/src/upgrade/release-3.3.x.asciidoc ########## @@ -27,6 +27,29 @@ image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima Please see the link:https://github.com/apache/tinkerpop/blob/3.3.5/CHANGELOG.asciidoc#release-3-3-5[changelog] for a complete list of all the modifications that are part of this release. +=== Upgrading for Users + +==== Bytecode Command + +The Gremlin Console now has a new `:bytecode` command to help users work more directly with Gremlin bytecode. The +command is more of a debugging tool than something that would be used for every day purposes. It is sometimes helpful +to look at Gremlin bytecode directly and the process for viewing it in human readable format is not a single step +process. It is also not immediately clear how to convert bytecode to a Gremlin string. The `:bytecode` command aims to +help with both of these issues: + +[source,text] +---- +gremlin> g = TinkerFactory.createModern().traversal() +==>graphtraversalsource[tinkergraph[vertices:6 edges:6], standard] +gremlin> :bytecode from g.V().out('knows') <1> Review comment: fixed - bad cut/paste ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services