Integrate rewording suggestions

This commit is contained in:
Antonin Delpeuch 2025-11-05 12:31:17 +01:00 committed by Will Lillis
parent 55b9a25c84
commit 42e7e9c3e7

View file

@ -1,6 +1,6 @@
# ABI versions
Parsers generated with tree-sitter have an associated ABI version. This version specifies the shape of the C code that they contain, which they expose to applications.
Parsers generated with tree-sitter have an associated ABI version. This version establishes hard compatibility boundaries between the generated parser and the tree-sitter library.
A given version of tree-sitter is only able to load parsers which have certain ABI versions:
@ -14,6 +14,7 @@ A given version of tree-sitter is only able to load parsers which have certain A
| >=0.20.3, <=0.24 | 13 | 14 |
| >=0.25 | 13 | 15 |
Tree-sitter developers aim to maintain compatibility with the previous ABI version at least.
Parser authors are able to specify the ABI version they want to use by specifying it with the `--abi` option of the `tree-sitter generate` command.
By default, parsers are generated using the latest available ABI. Grammar authors can specify an older ABI via the `--abi` option to the `generate` command:
```
tree-sitter generate --abi=<DESIRED-ABI>
```