omnigraph/crates/omnigraph-compiler/src
aaltshuler d4b21ce4eb feat(compiler): parse + typecheck undirected traversal — $a <edge> $b
iss-gq-undirected-traversal, the Expand-internal design (no plan-level
Union; unblocked from iss-744/579): the grammar gains an undirected_edge
alternative in the traversal rule (angle brackets are collision-free —
comparisons live in the structurally separate filter production), the
AST Traversal carries `undirected`, Direction gains `Both`, and
typecheck resolves undirected patterns to Both after the new T22 rule:
undirected requires a same-endpoint-type edge (an asymmetric edge is
well-typed in at most one orientation, so the form is rejected with
guidance to use the directional pattern). Lowering passes Both through;
the reverse-expand orientation flip is a no-op for a symmetric
traversal. Bounds ({min,max}) and not{} compose unchanged.

Direction has no serde derives and IR never crosses a wire — no
compatibility surface. Parser/typecheck tests cover the bare, bounded,
inside-not forms, Both resolution on Knows (Person->Person), and the
T22 rejection on WorksAt (Person->Company).
2026-07-06 00:59:09 +03:00
..
catalog test(compiler): pin the rename+widen interaction — rename first, ExtendEnum names the new property 2026-07-05 01:32:11 +03:00
ir feat(compiler): parse + typecheck undirected traversal — $a <edge> $b 2026-07-06 00:59:09 +03:00
lint (feat): multi-graph server mode (#119) 2026-05-28 16:19:31 +02:00
query feat(compiler): parse + typecheck undirected traversal — $a <edge> $b 2026-07-06 00:59:09 +03:00
schema rename compiler NanoError and fix cluster config warnings 2026-06-17 23:44:24 +03:00
error.rs address compiler error review comments 2026-06-18 00:02:21 +03:00
json_output.rs Initial public Omnigraph repository 2026-04-10 20:49:41 +03:00
lib.rs refactor(compiler): remove dead OpenAI embedding client (RFC-012 Phase 1) 2026-06-15 15:07:54 +02:00
query_input.rs rename compiler NanoError and fix cluster config warnings 2026-06-17 23:44:24 +03:00
result.rs rename compiler NanoError and fix cluster config warnings 2026-06-17 23:44:24 +03:00
types.rs feat(compiler): parse + typecheck undirected traversal — $a <edge> $b 2026-07-06 00:59:09 +03:00