Skip to content

Commit d10efa6

Browse files
stub for treesitter
Signed-off-by: Nikolaj Bjorner <[email protected]>
1 parent 5c18ce8 commit d10efa6

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

genaisrc/treesitter.genai.mts

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
script({
2+
title: "Invoke LLM code update",
3+
files: "src/muz/spacer/spacer_qe_project.cpp"
4+
})
5+
6+
7+
8+
const inputFile = env.files[0];
9+
const { captures } = await parsers.code(inputFile);
10+
11+
// pretty-print tree sitter parse tree of captures:
12+
13+
14+
console.log(JSON.stringify(captures, null,2))

0 commit comments

Comments
 (0)