This directory keeps early parser-development notes for historical context.
The current parser architecture has moved on from the first prototype described by the old log. Do not use this file as the authoritative source for new parser work.
Current references:
- GQL parser design
- MATCH execution overview
- Milestones
- Grammar generation notes
- Repository-local live status:
.claude/gql_refactor_status.md
The early implementation experimented with:
ParserGraphQueryprefix sniffing from ordinary ClickHouse SQL mode.ASTGraphQueryand relatedASTGraph*node classes.- A
GQLParsingUtilvisitor that produced a smaller graph AST subset. - A
src/Parsers/Graphdirectory layout.
Those names are historical. Current parser work uses:
Dialect::gqlselected explicitly by settings or caller context.ParserGQLQueryas the dialect-mode parser wrapper.GQLParserUtils::parseStatementas the production ANTLR entry.GQLParseTreeVisitorsplit acrosssrc/Parsers/graph/visitor.- ClickHouse-native
GQL*AST nodes undersrc/Parsers/graph/AST. - Stable roots such as
GQLSingleQuery,GQLCombinedQuery,GQLSubquery, andGQLCatalogStatement.
For new development, treat this file as an archive only. Update
docs/graph/parser.md, docs/graph/match_execution/06_milestones.md, and
.claude/gql_refactor_status.md instead when parser behavior or status changes.