language support: Haskell
Maintainers usually reply within 1 day
@maciejpirog is already working on this.
Since Mar 9, 2026.
Assessment
This issue has not been assessed yet.
Description
Hi,
We (Symbiotic Security) have a working Haskell integration in our fork and would like to upstream it.
Before opening a large PR, we'd like to align on approach/scope and how best to coordinate review.
What this adds
- New language: haskell (.hs) recognized by language selection + filename guessing.
- Target parsing + pattern parsing for Haskell via
tree-sitter - Haskell -> AST_generic conversion
Questions
-
tree-sitterpackaging: in our fork,tree-sittergenerated sources are currently vendored. Would you be ok if we addlanguages/haskell/tree-sitter/semgrep-haskellas a git submodule (like other languages) to upstream? -
semgrep_interfacesupdate: our fork currently points cli/src/semgrep/semgrep_interfaces to a branch in our internalsemgrep-interfacesfork (to add Haskell to the language enum). We assume upstream would prefer this as a separate PR toopengrep/semgrep-interfacesfirst, then update OpenGrep's submodule pointer back to upstream. -
Are there any acceptance criteria you want us to meet up front (tests, docs, performance/regression expectations, rule/pattern compatibility)?
If it's easier to discuss sequencing/review expectations in a private channel (Slack or similar), we're happy to coordinate that way.
We are open to any suggestions on how best to proceed and look forward to collaborating on this.
- Dominant language
- OCaml
- Stars
- 3.2k
- Forks
- 272
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 29
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from opengrep/opengrep
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Support Containerfile alongside DockerfilePossibly taken @maciejpirog claimed this 2 days ago. Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opengrep/opengrep#953 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 56/100
Maintainers usually reply within 1 day
-
Proxy credentials in HTTPS_PROXY are not sent, rule downloads fail with 407 since 2.0.0Possibly taken @dimitris-m claimed this 1 day ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 68/100
opengrep/opengrep#954 · 1 assignee ·
Maintainers usually reply within 1 day
-
YAML validation in 2.x.x is too strict - rejects top x-* keysPossibly taken @dimitris-m claimed this 4 days ago. Openbug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
opengrep/opengrep#952 · 1 assignee ·
Maintainers usually reply within 1 day