tree-sitter/lib
Max Brunsfeld 7a9b3076ef Handle memory errors occurring in wasm scanners
* In WASM, use a custom, simple malloc implementation that lets us
  expicitly reset the heap with a new start location.
* When a WASM call traps or errors, propagate that as a parse failure.
* Reset the WASM heap after every parse.

Co-authored-by: Conrad <conrad@zed.dev>
2024-03-17 10:19:42 -07:00
..
binding_rust Remove logic for building with clang static analyzer in core rust binding 2024-03-17 09:59:51 -07:00
binding_web fix(bindings/wasm): fix Parser.getIncludedRanges() 2024-03-12 02:29:35 -04:00
include/tree_sitter refactor: name anonymous types in api.h 2024-02-17 13:55:11 +01:00
src Handle memory errors occurring in wasm scanners 2024-03-17 10:19:42 -07:00
.ccls rust: Change QueryCursor::captures to expose the full match 2019-10-03 12:45:58 -07:00
Cargo.toml Lower the lib's MSRV 2024-03-12 09:36:54 -04:00
compile_flags.txt build: use c11 everywhere 2024-02-27 15:54:38 -05:00
README.md docs: update badges; fix markdown lint complains 2023-04-16 23:39:08 +03:00

Subdirectories

  • src - C source code for the Tree-sitter library
  • include - C headers for the Tree-sitter library
  • binding_rust - Rust bindings to the Tree-sitter library
  • binding_web - JavaScript bindings to the Tree-sitter library, using WebAssembly