As part of TINKERPOP-2680 I have gone through the design of what a call() step might look like to enable an extensibility point within Gremlin for something similar to a stored procedure. I've written up the details here:
https://gist.github.com/bechbd/1d0101c24c2ca8c1133b9d27b1a99fcf Any feedback/thoughts on this before are appreciated be we begin implementation?