From 10c764c022b1e46c84a3b4d3743a58bd1072b5a5 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Mon, 18 Dec 2023 02:41:56 +0100 Subject: feat: limit the number of FFI calls for extracting comments This replaces the tree-sitter bindings with a call to a single C function that traverses the AST. We expect the query API to be slower than manually traversing the tree for this particular use case. This will be addressed in an upcoming commit. @prerequisite-for add-languages-elm-shell-nix --- anissue.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'anissue.cabal') diff --git a/anissue.cabal b/anissue.cabal index 7043c79..571a577 100644 --- a/anissue.cabal +++ b/anissue.cabal @@ -154,4 +154,4 @@ executable anissue TypeFamilies ViewPatterns - c-sources: app/TreeSitter/bridge.c + c-sources: app/tree_sitter.c -- cgit v1.2.3