Skip to content

0.6.0: custom allocator support

Compare
Choose a tag to compare
@alaviss alaviss released this 17 Apr 18:34
· 5 commits to main since this release
0.6.0
961c279

This is a small release, only updating the tree-sitter base to support
custom allocators.

Implementation improvements

  • Custom allocators are now supported via
    -DTREE_SITTER_REUSE_ALLOCATOR. When set, the library will use
    tree-sitter's current allocator instead of libc's allocator.

  • Binding code is added for: C, Go, Python and Swift.

  • Node and Rust bindings has been updated to the latest version.