--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/B347B223-FD64-4F5C-9E65-7F50CF72BF38%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reminds me of brainfuck.
On Wed, Oct 19, 2016 at 10:04 AM, Marko Rodriguez <okram...@gmail.com> wrote:
Hello,Last night I was cruisin’ around Wikipedia and was checking out various programming languages. One in particular caught my eye — APL.I thought it would be neat to have different type of syntax to express Gremlin traversals and came up with the following "2D pipes” language.Basically, there are “piping” symbols that dictate traverser flow:- ^ / \These pipes link the steps, where commonly used steps have a short-hand syntax.The translator to go from this to Gremlin bytecode seems pretty simple. The internal data structure for the language is:List<List<String>>This give you the 2D matrix. You then can go “up and down” the lists and “left and right” along the tokens, where the - ^ \ / pipes tell you how to move about the List<List<String>> structure.Does anyone think this is cool?Marko.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/B347B223-FD64-4F5C-9E65-7F50CF72BF38%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
--Robert Dale
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/c1ce8a2b-b219-4eba-a8f6-ee62cdd12296%40googlegroups.com.
[created]x[knows]^
V().out(‘created’).in(‘knows’)