{"categories":[{"label":"Linguistic","url":"https://skillfed.io/packages/category/text-processing-linguistic/2"},{"label":"Compilers","url":"https://skillfed.io/packages/category/software-development-compilers"}],"enrichment":{"capability":"Provides a tree-sitter parser grammar for Haskell, enabling incremental parsing and syntax tree generation for Haskell source code.","skillfed_tags":["parser-grammar","tree-sitter","haskell-tooling"],"use_cases":["Build a Haskell linter or style checker that traverses the syntax tree to detect code patterns.","Implement editor features (syntax highlighting, code folding, go-to-definition) using tree-sitter queries.","Create a code refactoring tool that identifies and transforms specific Haskell syntax patterns.","Analyze Haskell codebases to extract metrics (function count, module dependencies, type usage).","Develop a documentation generator that parses Haskell source to extract type signatures and comments."],"what_it_does":"tree-sitter-haskell is a parser grammar for the tree-sitter incremental parsing framework, targeting the Haskell language. It translates Haskell source code into a concrete syntax tree that tools can query and analyze. The grammar supports most modern Haskell features, including many GHC language extensions (BangPatterns, GADTs, TypeFamilies, TemplateHaskell, and many others), though a few extensions remain unsupported or are not applicable to parsing.\n\nThe package is primarily used by developers building code analysis tools, linters, refactoring engines, or editor integrations that need to understand Haskell syntax. It does not parse or execute Haskell code itself; it only produces a tree representation. The grammar includes supertypes (expression, pattern, type, declaration, statement, etc.) that allow queries to match nodes at different levels of abstraction, making it suitable for both simple token extraction and complex semantic queries.","worth_installing":"Yes, if you are building a Haskell code analysis or editor tool and need incremental parsing. The grammar is comprehensive and actively maintained. However, install only if you already use tree-sitter; this package is a grammar plugin, not a standalone parser. Be aware that the last release was 642 days ago, so check whether recent language extensions you need are supported."},"id":"tree-sitter-haskell","links":{"html":"https://skillfed.io/packages/tree-sitter-haskell","md":"https://skillfed.io/packages/tree-sitter-haskell.md","pypi":"https://pypi.org/project/tree-sitter-haskell/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2024-11-10","license_spdx":null,"license_treatment":"permissive","name":"tree-sitter-haskell","python_support":"supports_current","summary":"Haskell grammar for tree-sitter"},"popularity":{"monthly_downloads":121369,"position":11983,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.23.1"}
