"Coccinelle is a tool for automatic program matching and transformation that was originally developed for making large scale changes to the Linux kernel source #code (ie, C code)."
Got reason to look into svelte-check, the #linting tool for #Svelte projects, and I must say – their approach is intriguing.
It’s essentially invoking Language Service (#lsp) diagnostics for all the files and using the diagnostics output from the TypeScript, HTML and CSS language services to determine if there's an error or not.
In other words: Mimicking how eg. VSCode does to report errors and warnings in its UI.
This is a very interesting approach compared to eg. @eslint parsers