3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 17:44:08 +00:00
z3/genaisrc/treesitter.genai.mts
Nikolaj Bjorner d10efa667a stub for treesitter
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-02-12 19:56:33 -08:00

15 lines
287 B
TypeScript

script({
title: "Invoke LLM code update",
files: "src/muz/spacer/spacer_qe_project.cpp"
})
const inputFile = env.files[0];
const { captures } = await parsers.code(inputFile);
// pretty-print tree sitter parse tree of captures:
console.log(JSON.stringify(captures, null,2))