Max Brunsfeld
|
3b8bfaeaa4
|
Merge pull request #3234 from tree-sitter/simpler-large-char-set-code
Generate simpler code for matching large character sets
|
2024-04-12 15:03:13 -07:00 |
|
Max Brunsfeld
|
7ec40b0ab4
|
Implement single-char state transitions using a static array and for loop
This reduces compile time, compared to generating many individual if statements.
|
2024-04-12 14:40:11 -07:00 |
|
dependabot[bot]
|
2d26c4c7bb
|
build(deps): bump the cargo group with 2 updates
Bumps the cargo group with 2 updates: [anyhow](https://github.com/dtolnay/anyhow) and [webbrowser](https://github.com/amodm/webbrowser-rs).
Updates `anyhow` from 1.0.81 to 1.0.82
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.81...1.0.82)
Updates `webbrowser` from 0.8.14 to 0.8.15
- [Release notes](https://github.com/amodm/webbrowser-rs/releases)
- [Changelog](https://github.com/amodm/webbrowser-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amodm/webbrowser-rs/compare/v0.8.14...v0.8.15)
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: webbrowser
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2024-04-12 16:45:53 -04:00 |
|
ObserverOfTime
|
eb09d5757c
|
ci(dependabot): improve PR labels
|
2024-04-12 16:01:47 -04:00 |
|
Max Brunsfeld
|
3210c7e21f
|
Avoid using a large character set constant when it doesn't reduce code size
|
2024-04-12 12:01:23 -07:00 |
|
Max Brunsfeld
|
3498498449
|
Merge branch 'master' into simpler-large-char-set-code
|
2024-04-12 10:03:46 -07:00 |
|
Max Brunsfeld
|
15fe07a20e
|
Clean up code generation for lexer state transitions
|
2024-04-12 09:02:33 -07:00 |
|
Amaan Qureshi
|
dcb7acede4
|
build: update emscripten version
|
2024-04-11 22:35:43 -04:00 |
|
Amaan Qureshi
|
96d18408a3
|
refactor(js): misc fixes & tidying
|
2024-04-11 22:35:43 -04:00 |
|
Amaan Qureshi
|
abc7910381
|
refactor(rust): misc fixes & tidying
|
2024-04-11 22:35:43 -04:00 |
|
Amaan Qureshi
|
5825e24d56
|
style: wrap comments
|
2024-04-11 22:35:43 -04:00 |
|
Amaan Qureshi
|
b35efa8f33
|
style: format imports
|
2024-04-11 22:35:43 -04:00 |
|
Amaan Qureshi
|
a48054f1ae
|
fix: wrong flag check in build.rs
|
2024-04-11 22:31:10 -04:00 |
|
Max Brunsfeld
|
1f0707e1ac
|
Fix clippy warnings
|
2024-04-11 16:29:59 -07:00 |
|
Max Brunsfeld
|
b8701fcf18
|
Check EOF when checking a large char set that contains the null character
|
2024-04-11 16:19:21 -07:00 |
|
Max Brunsfeld
|
be6e6d3708
|
Merge branch 'master' into simpler-large-char-set-code
|
2024-04-11 16:03:20 -07:00 |
|
Max Brunsfeld
|
18ea74ee12
|
Merge pull request #3280 from ObserverOfTime/reduce
refactor(parser): make REDUCE macro non-variadic
|
2024-04-11 15:39:28 -07:00 |
|
Ron Panduwana
|
c051a90ac5
|
fix: insert "tree-sitter" section in current directory's package.json if it exists
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
|
2024-04-11 17:09:35 -04:00 |
|
ObserverOfTime
|
63babea301
|
fix: proper function prototypes
|
2024-04-11 16:28:21 -04:00 |
|
ObserverOfTime
|
50dfd409f6
|
fix(bindings): generate parser.c if missing
|
2024-04-11 16:28:21 -04:00 |
|
ObserverOfTime
|
7830877f63
|
fix(bindings): add utf-8 flag to python & node
|
2024-04-11 16:27:50 -04:00 |
|
ObserverOfTime
|
818cd8c291
|
refactor(parser): make REDUCE macro non-variadic
|
2024-04-11 20:47:08 +03:00 |
|
Amaan Qureshi
|
8bfe4e1f6b
|
fix: add back build-wasm temporarily
|
2024-04-11 10:48:30 -04:00 |
|
Ron Panduwana
|
33de5ef849
|
fix: default output directory for build --wasm should use current_dir
|
2024-04-11 10:48:30 -04:00 |
|
Amaan Qureshi
|
895c7680e7
|
fix(windows): add /utf-8 flag for parsers using unicode symbols
|
2024-04-11 09:44:51 -04:00 |
|
Sebastian Lackner
|
5dc62cc828
|
fix(cli): fix mismatched parenthesis when accounting for &&
|
2024-04-11 09:01:56 -04:00 |
|
Max Brunsfeld
|
3d088888f5
|
Derive large character sets from lex states for individual tokens
|
2024-04-10 16:53:39 -07:00 |
|
Max Brunsfeld
|
be34bc9430
|
Identify large char sets for lexer using NFA transitions
|
2024-04-09 17:53:37 -07:00 |
|
Will Lillis
|
cbcb51b857
|
fix: tie the lifetime of the cursor to the query in QueryCursor::captures()
|
2024-04-09 12:19:06 -04:00 |
|
dependabot[bot]
|
4d8b031bcc
|
build(deps): bump the cargo group with 3 updates
Bumps the cargo group with 3 updates: [cc](https://github.com/rust-lang/cc-rs), [fs4](https://github.com/al8n/fs4-rs) and [webbrowser](https://github.com/amodm/webbrowser-rs).
Updates `cc` from 1.0.90 to 1.0.92
- [Release notes](https://github.com/rust-lang/cc-rs/releases)
- [Commits](https://github.com/rust-lang/cc-rs/compare/1.0.90...1.0.92)
Updates `fs4` from 0.8.1 to 0.8.2
- [Release notes](https://github.com/al8n/fs4-rs/releases)
- [Commits](https://github.com/al8n/fs4-rs/commits)
Updates `webbrowser` from 0.8.13 to 0.8.14
- [Release notes](https://github.com/amodm/webbrowser-rs/releases)
- [Changelog](https://github.com/amodm/webbrowser-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amodm/webbrowser-rs/compare/v0.8.13...v0.8.14)
---
updated-dependencies:
- dependency-name: cc
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: fs4
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: webbrowser
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2024-04-08 22:19:57 -04:00 |
|
Amaan Qureshi
|
c1a63019a4
|
chore: update tests
|
2024-04-08 17:56:05 -04:00 |
|
Amaan Qureshi
|
21c06101aa
|
fix(bindings): remove required platforms for swift
|
2024-04-08 17:56:05 -04:00 |
|
Amaan Qureshi
|
0d2dea9e0e
|
fix(test): allow colons in test names
|
2024-04-08 17:56:05 -04:00 |
|
Amaan Qureshi
|
a9172e0caa
|
fix: add a semicolon after SKIP macros
|
2024-04-08 17:56:05 -04:00 |
|
Amaan Qureshi
|
abed43a169
|
chore: clippy fix
|
2024-04-08 17:56:05 -04:00 |
|
dependabot[bot]
|
c76e5fa960
|
build(deps): bump wasmtime from 19.0.0 to 19.0.1
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime) from 19.0.0 to 19.0.1.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v19.0.0...v19.0.1)
---
updated-dependencies:
- dependency-name: wasmtime
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2024-04-04 15:35:12 -04:00 |
|
Torsten Schmits
|
cdd00defdb
|
fix(lib): use correct format specifier in log message
|
2024-04-04 14:51:15 -04:00 |
|
Max Brunsfeld
|
9ae61feac9
|
Merge pull request #3254 from WillLillis/bug_fix
fix: Add lifetime to matches function
|
2024-04-03 19:51:44 -07:00 |
|
WillLillis
|
a7078a1561
|
fix: Add lifetime to mactches function
|
2024-04-03 22:06:19 -04:00 |
|
ObserverOfTime
|
78b6067a5d
|
fix(parser): fix variadic macro
|
2024-04-02 03:18:05 -04:00 |
|
dependabot[bot]
|
80dabf96c7
|
build(deps): bump the cargo group with 4 updates
Bumps the cargo group with 4 updates: [clap](https://github.com/clap-rs/clap), [memchr](https://github.com/BurntSushi/memchr), [regex-syntax](https://github.com/rust-lang/regex) and [serde_json](https://github.com/serde-rs/json).
Updates `clap` from 4.5.3 to 4.5.4
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.5.3...v4.5.4)
Updates `memchr` from 2.7.1 to 2.7.2
- [Commits](https://github.com/BurntSushi/memchr/compare/2.7.1...2.7.2)
Updates `regex-syntax` from 0.8.2 to 0.8.3
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/regex-syntax-0.8.2...regex-syntax-0.8.3)
Updates `serde_json` from 1.0.114 to 1.0.115
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.114...v1.0.115)
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: memchr
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: regex-syntax
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2024-04-02 03:17:14 -04:00 |
|
Max Brunsfeld
|
39be6972fe
|
Use static arrays and a fixed binary search for large char set checks
|
2024-03-29 23:00:48 -07:00 |
|
dependabot[bot]
|
0b44032949
|
build(deps): bump the cargo group with 4 updates
Bumps the cargo group with 4 updates: [git2](https://github.com/rust-lang/git2-rs), [indexmap](https://github.com/indexmap-rs/indexmap), [indoc](https://github.com/dtolnay/indoc) and [regex](https://github.com/rust-lang/regex).
Updates `git2` from 0.18.2 to 0.18.3
- [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-0.18.2...git2-0.18.3)
Updates `indexmap` from 2.2.5 to 2.2.6
- [Changelog](https://github.com/indexmap-rs/indexmap/blob/master/RELEASES.md)
- [Commits](https://github.com/indexmap-rs/indexmap/compare/2.2.5...2.2.6)
Updates `indoc` from 2.0.4 to 2.0.5
- [Release notes](https://github.com/dtolnay/indoc/releases)
- [Commits](https://github.com/dtolnay/indoc/compare/2.0.4...2.0.5)
Updates `regex` from 1.10.3 to 1.10.4
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.10.3...1.10.4)
---
updated-dependencies:
- dependency-name: git2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: indexmap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: indoc
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: cargo
...
Signed-off-by: dependabot[bot] <support@github.com>
|
2024-03-27 00:28:33 -04:00 |
|
Max Brunsfeld
|
0fc92c9a7d
|
Add strncat to wasm stdlib
Co-authored-by: Marshall <marshall@zed.dev>
|
2024-03-25 09:51:54 -07:00 |
|
Max Brunsfeld
|
b7fcf9878e
|
Upgrade wasmtime
|
2024-03-20 18:23:44 -07:00 |
|
Max Brunsfeld
|
8945e3a111
|
Fix sorting of wasm stdlib symbols
|
2024-03-20 18:23:44 -07:00 |
|
Amaan Qureshi
|
62cd13a3de
|
test: add regression test for node parent + string bug
|
2024-03-20 19:23:08 -04:00 |
|
Amaan Qureshi
|
09d2b23a64
|
fix(lib): account for the root node of a tree cursor being an alias
|
2024-03-20 19:23:08 -04:00 |
|
Amaan Qureshi
|
24a68697ac
|
fix(lib): properly account for aliased root nodes and root nodes with
children in `ts_subtree_string`
|
2024-03-20 19:23:08 -04:00 |
|
Amaan Qureshi
|
ab485da756
|
fix(lib): do not consider childless nodes for ts_node_parent
|
2024-03-20 19:23:08 -04:00 |
|