Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
anticensor
· 1y ago · 0 comments
Idea: feed the language model the parse tree instead of the textual sequence.
Comments
[–]
gabiteodoru
1y ago
Yep, that's exactly what my MCP server is doing -- write in a Python-like language (I called in Qython), parse into AST tree, write the q code.
[–]
wat10000
1y ago
Might help. You could also allow it to output edits instead of just a sequence. Probably have to train it on edits to make that work well, and the training data might be tricky to obtain.