You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have built a multi-language program transformation (and light
static analysis) framework on top of tree-sitter. We programmatically
parse tree-sitter grammars, declare multi-language mixins, add
generic functions working across languages, and support printing
tree-sitter ASTs back to source code. We've also pushed some commits
upstream (thanks @berchn).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We have built a multi-language program transformation (and light
static analysis) framework on top of tree-sitter. We programmatically
parse tree-sitter grammars, declare multi-language mixins, add
generic functions working across languages, and support printing
tree-sitter ASTs back to source code. We've also pushed some commits
upstream (thanks @berchn).
The resulting tooling can be used as a common lisp package
https://github.com/GrammaTech/sel or a python package
https://pypi.org/project/asts/. We’ve used this on many
research projects and are committed to supporting them as
open-source software.
See the main project page and a video describing the library and
demonstrating usage of the Python API at
https://grammatech.github.io/prj/sel/.
Beta Was this translation helpful? Give feedback.
All reactions