Supported languages

The level of support in Semgrep for a language consists of:

  • what percentage of valid code in the language can be parsed
  • what percentage of valid Semgrep patterns for that language perform as expected

We take a data-driven approach to promoting new languages from beta to alpha to generally available (GA). Parse rates are calculated and updated daily. The parse rates below are based on a large set of open-source repositories and are also used to validate Semgrep’s performance.

Semgrep parses source code using pfff, a set of tools and APIs to perform static analysis, code visualizations, code navigations, or style-preserving source-to-source transformations such as refactorings on source code, and Tree-sitter, a parser generator tool and an incremental parsing library.

Language Status


Go Parse Rate

Java Parse Rate

JavaScript Parse Rate

Ruby Parse Rate

TypeScript Parse Rate

TSX Parse Rate