From 0d96613d9aa41f93ebb440bb1aa383456b49f28f Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Fri, 15 Dec 2023 07:40:33 +0100 Subject: feat: drop haskell-tree-sitter Drop haskell-tree-sitter in favor of custom bindings to tree-sitter. haskell-tree-sitter is outdated and seems unmaintained. The implementation add low-level bindings to tree-sitter and traverses the AST in Haskell. We suspect that many FFI calls are more expensive than performing just a single API call to a C function that does the traversal. This will be addressed in upcoming commits. @prerequisite-for add-languages-elm-shell-nix --- app/Comment/Language.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/Comment') diff --git a/app/Comment/Language.hs b/app/Comment/Language.hs index 67c3413..925cf56 100644 --- a/app/Comment/Language.hs +++ b/app/Comment/Language.hs @@ -14,8 +14,7 @@ import Data.Text qualified as T import Exception qualified as E import Foreign.Ptr (Ptr) import GHC.Generics (Generic) -import TreeSitter.Haskell qualified as S -import TreeSitter.Language qualified as S +import TreeSitter qualified as S data Language = Haskell -- cgit v1.2.3