3 ms·
No swift support yet. What would be involved in adding it?
by afro88 6y ago
No swift support yet. What would be involved in adding it?
- mdaniel 6y agohttps://github.com/returntocorp/ocaml-tree-sitter/blob/master/doc/adding-a-language.md#how-to-add-support-for-a-new-language https://github.com/returntocorp/ocaml-tree-sitter/blob/maste... appears to be the general answer to your question, but navigating to the tree-sitter docs shows that tree-sitter has one in progress: https://github.com/tree-sitter/tree-sitter-swift https://github.com/tree-sitter/tree-sitter-swift so hopefully the machinery to incorporate it into semgrep will not be horrific