note: afaict, "grammar files" appears to be a phrase used by at least one of the main developers to refer to the files related to bindings for various languages (e.g. c, go, java, kotlin, node, python, rust, swift)
-
generate
used to be the subcommand that created bindings files, in 0.24.0, this role was taken on by theinit
subcommand (2024-10-04):Move generation of grammar files to an init command
-
the role of generating bindings files was transitioned to the
init
subcommand:- generate should not create .editorconfig (et al.), that should be part of an init command #3321 (2024-04-26)
- generate --no-bindings still generates package.json #3528 (2024-08-16)
- feat!: move generation of grammar files to an init command #3694 (2024-09-28)
- tree-sitter.json came about during the transition
-
misc