3 ms·
Another rule engine checker that doesn't support the language that needs this type of thing the most: C In this case, it's inexplicable to me since tree-sitter
by xxpor 2y ago
Another rule engine checker that doesn't support the language that needs this type of thing the most: C
In this case, it's inexplicable to me since tree-sitter supports C fine.
- ievans 2y agoFor C, you might be interested in https://github.com/weggli-rs/weggli https://github.com/weggli-rs/weggli or https://github.com/semgrep/semgrep https://github.com/semgrep/semgrep (I work on the latter). Both are also tree-sitter based.
- sanketsaurav 2y agoSupporting C / C++ is in our roadmap. It needs some additional work to handle preprocessor directives [1] [2], which is why we didn't focus on it for the initial release. [1] https://github.com/tree-sitter/tree-sitter-c/issues/13 https://github.com/tree-sitter/tree-sitter-c/issues/13 [2] https://github.com/tree-sitter/tree-sitter-c/issues/108 https://github.com/tree-sitter/tree-sitter-c/issues/108
- xxpor 2y agoNice, subscribed. I wonder how far you could get without solving #13, which does seem to be genuinely hard.