coala
ocaml-tree-sitter-semgrep
coala | ocaml-tree-sitter-semgrep | |
---|---|---|
3 | 2 | |
3,515 | 1 | |
0.1% | - | |
0.0 | 8.3 | |
3 months ago | 9 days ago | |
Python | JavaScript | |
GNU Affero General Public License v3.0 | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
coala
-
Level up your Python today with open-source contributions
Read the contributing guidelines on GitHub
- Show HN: Semgrep App
ocaml-tree-sitter-semgrep
-
Show HN: Semgrep App
Technically, OCaml only applies to Semgrep, as the app which is the subject of this post uses a more neo-traditional Python & TypeScript stack :)
I don't have full context on the parser core, but I do know that a major thing we've got going for OCaml is a translation layer we wrote for getting OCaml code generated based on tree-sitter grammars: https://github.com/returntocorp/ocaml-tree-sitter-semgrep
-
Semgrep: Like Grep but for Code
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 so hopefully the machinery to incorporate it into semgrep will not be horrific
What are some alternatives?
code2flow - Pretty good call graphs for dynamic languages
semgrep - Lightweight static analysis for many languages. Find bug variants with patterns that look like source code.
pycallgraph
tree-sitter-swift - Swift grammar for tree-sitter
vprof - Visual profiler for Python
tree-sitter-swift - A tree-sitter grammar for the Swift programming language.
pysonar2 - PySonar2: a semantic indexer for Python with interprocedual type inference
terraform-provider-aws - The AWS Provider enables Terraform to manage AWS resources.
pydeps - Python Module Dependency graphs
CCGrep - Code Clone Detector like grep
PythonBuddy - 1st Online Python Editor With Live Syntax Checking and Execution
Bear - Bear is a tool that generates a compilation database for clang tooling.