tree-sitter/lib
Amaan Qureshi 3f424c0121 feat: add an API to time out query executions
Currently, if a predicate is hard to match on the Rust side, a sizable
query against a very large file can take forever, and ends up hanging.
This commit adds an API function `ts_query_cursor_set_timeout_micros` to
limit how long query execution is allowed to take, thereby negating the
chance of a hang to occur.
2024-08-31 14:33:28 -04:00
..
binding_rust feat: add an API to time out query executions 2024-08-31 14:33:28 -04:00
binding_web feat: add an API to time out query executions 2024-08-31 14:33:28 -04:00
include/tree_sitter feat: add an API to time out query executions 2024-08-31 14:33:28 -04:00
language feat(lib): support no_std 2024-07-28 11:34:26 +03:00
src feat: add an API to time out query executions 2024-08-31 14:33:28 -04:00
.ccls rust: Change QueryCursor::captures to expose the full match 2019-10-03 12:45:58 -07:00
Cargo.toml build(deps): bump wasmtime to v24.0.0 2024-08-20 18:09:23 +02: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