An incremental parsing system for programming tools https://tree-sitter.github.io
Find a file
Ryan Patterson 657c7b548e Memory errors in wasm_store
```
In file included from tree_sitter/core/lib/src/lib.c:14:
tree_sitter/core/lib/src/./wasm_store.c:868:94: warning: incompatible pointer types passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'uint64_t *' (aka 'unsigned long long *') [-Wincompatible-pointer-types]
  error = wasmtime_table_grow(context, &function_table, lexer_definitions_len, &initializer, &table_index);
                                                                                             ^~~~~~~~~~~~
/Users/rpatterson/Projects/amel/py-tree-sitter/.direnv/python-3.11/include/wasmtime/table.h:105:31: note: passing argument to parameter 'prev_size' here
                    uint64_t *prev_size);
                              ^
In file included from tree_sitter/core/lib/src/lib.c:14:
tree_sitter/core/lib/src/./wasm_store.c:969:102: warning: incompatible pointer types passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'uint64_t *' (aka 'unsigned long long *') [-Wincompatible-pointer-types]
  error = wasmtime_table_grow(context, &self->function_table, dylink_info->table_size, &initializer, &prev_table_size);
                                                                                                     ^~~~~~~~~~~~~~~~
/Users/rpatterson/Projects/amel/py-tree-sitter/.direnv/python-3.11/include/wasmtime/table.h:105:31: note: passing argument to parameter 'prev_size' here
                    uint64_t *prev_size);
                              ^
2 warnings generated.
```

(cherry picked from commit 178c5d93f4)
2024-10-13 14:53:01 +02:00
.cargo feat: add xtasks to assist with bumping crates 2024-02-25 13:40:03 -05:00
.github ci: add backport workflow 2024-09-01 15:18:43 -04:00
cli 0.24.3 2024-10-09 17:23:15 -04:00
docs fix(init): fix some schema issues 2024-10-01 11:37:57 -04:00
highlight feat!: implement StreamingIterator instead of Iterator for QueryMatches and QueryCaptures 2024-09-29 17:34:48 -04:00
lib Memory errors in wasm_store 2024-10-13 14:53:01 +02:00
script chore: update generate crate paths 2024-09-28 13:58:30 -04:00
tags feat!: implement StreamingIterator instead of Iterator for QueryMatches and QueryCaptures 2024-09-29 17:34:48 -04:00
test fix(lib): correct unexpected side effect in get_column when the lexer is at EOF 2024-10-09 10:27:04 +02:00
xtask build(xtask): ignore the language crate 2024-10-04 00:11:26 -04:00
.dockerignore Add a simple dockerfile for testing 2024-03-18 12:35:10 -07:00
.editorconfig build: add editorconfig 2024-02-11 13:03:58 +01:00
.gitattributes fix: specify eof should be lf for windows cicd 2024-01-25 20:12:36 -05:00
.gitignore build(lib): build using cmake 2024-09-07 18:38:05 -04:00
build.zig feat(zig): update outdated path syntax 2024-05-23 15:44:52 -04:00
build.zig.zon 0.24.3 2024-10-09 17:23:15 -04:00
Cargo.lock 0.24.3 2024-10-09 17:23:15 -04:00
Cargo.toml 0.24.3 2024-10-09 17:23:15 -04:00
CHANGELOG.md docs(changelog): add 0.23.0 release notes 2024-08-29 23:01:42 -04:00
CONTRIBUTING.md build: remove symbolic links from repository 2024-02-12 14:16:12 +01:00
Dockerfile Add a simple dockerfile for testing 2024-03-18 12:35:10 -07:00
FUNDING.json chore: add FUNDING.json 2023-11-08 00:08:07 -05:00
LICENSE docs(license): update year 2024-03-16 01:15:22 -04:00
Makefile 0.24.3 2024-10-09 17:23:15 -04:00
Package.swift fix(generate): remove excludes in Package.swift 2024-09-16 21:40:21 -04:00
README.md docs: add discord and matrix badges 2024-03-10 11:28:14 -04:00
rustfmt.toml refactor(rust): misc fixes & tidying 2024-04-11 22:35:43 -04:00

tree-sitter

DOI discord matrix

Tree-sitter is a parser generator tool and an incremental parsing library. It can build a concrete syntax tree for a source file and efficiently update the syntax tree as the source file is edited. Tree-sitter aims to be:

  • General enough to parse any programming language
  • Fast enough to parse on every keystroke in a text editor
  • Robust enough to provide useful results even in the presence of syntax errors
  • Dependency-free so that the runtime library (which is written in pure C) can be embedded in any application