Skip to content

Commit

Permalink
stub for treesitter
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <[email protected]>
  • Loading branch information
NikolajBjorner committed Feb 13, 2025
1 parent 5c18ce8 commit d10efa6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions genaisrc/treesitter.genai.mts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
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))

0 comments on commit d10efa6

Please sign in to comment.