CCGrep VS ocaml-tree-sitter-semgrep

Compare CCGrep vs ocaml-tree-sitter-semgrep and see what are their differences.

CCGrep

Code Clone Detector like grep (by yuy-m)

ocaml-tree-sitter-semgrep

Generate parsers from tree-sitter grammars extended to support Semgrep patterns (by semgrep)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
CCGrep ocaml-tree-sitter-semgrep
1 2
6 1
- -
0.0 8.3
about 3 years ago 11 days ago
Java JavaScript
MIT License GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

CCGrep

Posts with mentions or reviews of CCGrep. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-04-22.
  • Semgrep: Like Grep but for Code
    12 projects | news.ycombinator.com | 22 Apr 2021
    I wrote a small VS code extension and pre-commit hook that might meet 80% of your needs:

    https://github.com/elanning/checkr

    It is just simple regex at this time, but hopefully I can add something like CCGrep syntax in the future:

    https://github.com/yuy-m/CCGrep

ocaml-tree-sitter-semgrep

Posts with mentions or reviews of ocaml-tree-sitter-semgrep. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-22.
  • Show HN: Semgrep App
    5 projects | news.ycombinator.com | 22 Oct 2021
    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
    12 projects | news.ycombinator.com | 22 Apr 2021
    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?

When comparing CCGrep and ocaml-tree-sitter-semgrep you can also consider the following projects:

refex - A syntactically aware search-and-replace tool for Python.

semgrep - Lightweight static analysis for many languages. Find bug variants with patterns that look like source code.

tree-sitter-swift - Swift grammar for tree-sitter

tree-sitter-swift - A tree-sitter grammar for the Swift programming language.

terraform-provider-aws - The AWS Provider enables Terraform to manage AWS resources.

Bear - Bear is a tool that generates a compilation database for clang tooling.

pfff - Tools for code analysis, visualizations, or style-preserving source transformation.