semgrep / pfff

pfff is mainly an OCaml API to write static analysis, dynamic analysis, code visualizations, code navigations, or style-preserving source-to-source transformations such as refactorings on source code.
https://semgrep.dev
Other
186 stars 29 forks source link

change pfff python #546

Closed brandonspark closed 2 years ago

brandonspark commented 2 years ago

I am attempting a migration from pfff python parsing to tree-sitter.

These changes enable that migration by changing the type, and removing the problematic parts of the existing pfff parser that would otherwise cause things to not type-check.

Security