Expand description
Language support contract shared by every registered language.
drep analyzes a file in two layers, and this module is what keeps them free of per-language conditionals:
- Deterministic: the project’s own tools (ruff, eslint, gofmt, clippy). They are precise, so their findings can gate a commit.
- Semantic: the LLM, told which language it is looking at. It reads any language without a parser, so it needs no per-language machinery beyond a prompt - which is why adding a language here is a data change, not a refactor.
Deliberately free of heavyweight drep imports: the registry is consulted by
file discovery (drep.core.file_targets), which analyzer packages import.
Structs§
- Language
Support - Everything drep needs to know about one language.
- Tool
Spec - A deterministic checker for one language.
Enums§
- Diagnostics
Stream - Which process stream carries a tool’s diagnostics.
- Output
Format - How to parse the tool’s diagnostics into findings.