View on GitHub

Graft Documentation

Safe, structural code transformation using Tree-sitter

Supported Languages

The following languages are currently supported by Graft:

Language Extensions
Rust rust, rs
JavaScript javascript, js, jsx
TypeScript typescript, ts
TSX tsx
Go go
Python python, py
C c, h
C++ cpp, c++, cc, cxx, hpp, hxx
Java java
JSON json
HTML html
CSS css
Bash bash, sh, zsh
OCaml ocaml, ml
OCaml Interface ocaml_interface, mli
Lua lua
Nix nix
YAML yaml, yml
Markdown markdown, md
TOML toml
Dockerfile dockerfile, docker
Make make, makefile, mk