diff options
author | Alexander Foremny <aforemny@posteo.de> | 2023-12-15 07:40:33 +0100 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2023-12-18 05:26:24 +0100 |
commit | 0d96613d9aa41f93ebb440bb1aa383456b49f28f (patch) | |
tree | 8338371bcdeb58957f3b312517cebc9763b380ba /app/Comment/Language.hs | |
parent | 4013b920f51790a88b5afce5be72c52b8cb2adc6 (diff) |
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
Diffstat (limited to 'app/Comment/Language.hs')
-rw-r--r-- | app/Comment/Language.hs | 3 |
1 files changed, 1 insertions, 2 deletions
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 |