aphorisme
aphorisme
ATApache TinkerPop
Created by aphorisme on 7/24/2023 in #questions
Complete Instruction Set?
Hello there! I'm working on a gremlin to SQL implementation and was wondering if there is a specification of the "instruction set" language? E.g. wikipedia states that
g.V().as("a").out("knows").as("b").
select("a","b").
by("name").
by("age")
g.V().as("a").out("knows").as("b").
select("a","b").
by("name").
by("age")
is compiled to something which can be uniquely stringified into
[GraphStep([],vertex)@[a], VertexStep(OUT,[knows],vertex)@[b], SelectStep([a, b],[value(name), value(age)])]
[GraphStep([],vertex)@[a], VertexStep(OUT,[knows],vertex)@[b], SelectStep([a, b],[value(name), value(age)])]
and I was wondering if the later one is specified somewhere? Thanks in advance!
6 replies