Skip to content

[LQP] Add provenance to LQP parser - #220

Merged
nystrom merged 43 commits into
mainfrom
nn-meta-provenance
Mar 2, 2026
Merged

[LQP] Add provenance to LQP parser#220
nystrom merged 43 commits into
mainfrom
nn-meta-provenance

Conversation

@nystrom

@nystrom nystrom commented Feb 25, 2026

Copy link
Copy Markdown
Contributor

Add provenance (source location) tracking to the LQP parser across all SDKs (Python, Go, Julia).

# Conflicts:
#	Makefile
#	go/src/parser.go
#	julia/LQPParser/src/parser.jl
#	julia/LQPParser/test/runtests.jl
#	meta/src/meta/__init__.py
#	meta/src/meta/codegen_base.py
#	meta/src/meta/codegen_go.py
#	meta/src/meta/codegen_julia.py
#	meta/src/meta/codegen_python.py
#	meta/src/meta/grammar.py
#	meta/src/meta/grammar_utils.py
#	meta/src/meta/grammar_validator.py
#	meta/src/meta/parser_gen.py
#	meta/src/meta/pretty_gen.py
#	meta/src/meta/pretty_gen_python.py
#	meta/src/meta/target.py
#	meta/src/meta/target_builtins.py
#	meta/src/meta/target_print.py
#	meta/src/meta/target_utils.py
#	meta/src/meta/templates/parser.go.template
#	meta/src/meta/templates/parser.jl.template
#	meta/src/meta/templates/parser.py.template
#	meta/src/meta/templates/pretty_printer.py.template
#	meta/src/meta/type_env.py
#	meta/src/meta/yacc_parser.py
#	meta/tests/meta/test_analysis.py
#	meta/tests/meta/test_codegen_go.py
#	meta/tests/meta/test_codegen_julia.py
#	meta/tests/meta/test_codegen_python.py
#	meta/tests/meta/test_grammar.py
#	meta/tests/meta/test_grammar_utils.py
#	meta/tests/meta/test_grammar_validator.py
#	meta/tests/meta/test_parser_gen.py
#	meta/tests/meta/test_terminal_sequence_set.py
#	python-tools/src/lqp/cli.py
#	python-tools/src/lqp/gen/parser.py
#	python-tools/src/meta/codegen_templates.py
#	python-tools/src/meta/grammar.y
#	python-tools/src/meta/yacc_action_parser.py
#	python-tools/tests/test_generated_parser.py
#	python-tools/tests/test_proto_validator.py
#	sdks/go/test/parser_test.go
#	sdks/julia/LogicalQueryProtocol.jl/src/gen/relationalai/lqp/v1/fragments_pb.jl
#	sdks/julia/LogicalQueryProtocol.jl/src/gen/relationalai/lqp/v1/logic_pb.jl
#	sdks/julia/LogicalQueryProtocol.jl/src/gen/relationalai/lqp/v1/transactions_pb.jl
#	sdks/python/src/lqp/gen/pretty.py
#	sdks/python/src/lqp/generated_pretty_printer.py
#	sdks/python/src/lqp/proto_validator.py
#	sdks/python/tests/test_generated_pretty_printer.py
@nystrom nystrom changed the title Add provenance to LQP parser [LQP] Add provenance to LQP parser Feb 25, 2026
@nystrom
nystrom requested a review from comnik February 25, 2026 16:39
@comnik

comnik commented Feb 25, 2026

Copy link
Copy Markdown
Collaborator

@nystrom is error reporting the primary use case here?

@nystrom

nystrom commented Feb 26, 2026

Copy link
Copy Markdown
Contributor Author

@nystrom is error reporting the primary use case here?

Yes. I'm extending the python validator to use these. We can also use them on the raicode side eventually.

@nystrom
nystrom merged commit 8e6516e into main Mar 2, 2026
5 checks passed
@nystrom
nystrom deleted the nn-meta-provenance branch March 2, 2026 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants