aboutsummaryrefslogtreecommitdiffstats
path: root/app/Comment.hs
AgeCommit message (Collapse)Author
2024-03-14chore: refactor `Comment.Language.fromPath`Libravatar Alexander Foremny
2023-12-18feat: add support for c, elm, nix, shellLibravatar Alexander Foremny
2023-12-18feat: limit the number of FFI calls for extracting commentsLibravatar Alexander Foremny
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
2023-12-18feat: drop haskell-tree-sitterLibravatar Alexander Foremny
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
2023-12-13chore: free allocated memory in commentsLibravatar Alexander Foremny
2023-12-13chore: uncache large issue fieldsLibravatar Alexander Foremny
2023-12-08fix: fix `Git.readTextFileOf`Libravatar Alexander Foremny
2023-12-08chore: drop tree-grepperLibravatar Alexander Foremny
Regresses in that we only support Haskell for now, as Elm, Nix or Bash are not available as tree-sitter-* Haskell packages.