dundargoc
dc4e232e6e
feat: add build sha to parser.c header comment
2024-10-28 12:16:48 +01:00
ObserverOfTime
3661689389
feat(bindings): drop language name from node
2024-10-26 23:53:58 +00:00
ObserverOfTime
c5ee0ac070
feat(lib): add the language name
2024-10-26 23:53:58 +00:00
Amaan Qureshi
42dd32d184
build: remove unicode files and script, move cliff.toml
2024-10-26 23:25:12 +00:00
Amaan Qureshi
c8cf75fd30
feat(generate)!: use regex_syntax::Hir for expanding regexes
...
Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
2024-10-26 23:25:12 +00:00
Amaan Qureshi
ce93d8fd9b
feat!: bump internal abi to 15
2024-10-26 17:02:00 +00:00
ObserverOfTime
413b7cbcca
build(cli): get build sha via git command
2024-10-26 04:41:10 +00:00
ObserverOfTime
8515986b73
docs(rust): document optional features
2024-10-24 17:08:55 +00:00
ObserverOfTime
7f0c5f928a
feat(generate): add a comment with the tree-sitter version
2024-10-24 17:07:15 +00:00
ObserverOfTime
d3a127a48f
chore(bindings): more small changes
...
- Rename cmakelists.txt to cmakelists.cmake
- Bump node-addon-api version in package.json
- Remove License classifier from pyproject.toml
- Move require call to top level in Node.js test
2024-10-20 16:55:27 +00:00
Joel Spadin
9c8a0d47a0
fix(dsl): fix types for RuleBuilder
...
The second parameter to RuleBuilder should be optional. Fixes #3811 .
2024-10-20 01:27:42 +00:00
ObserverOfTime
f9a4e8ecdc
fix(init): use current path if unspecified
2024-10-19 19:28:51 +00:00
ObserverOfTime
8681960fbc
chore(bindings): correct editorconfig indent size
2024-10-19 18:31:46 +00:00
ObserverOfTime
c23670264f
chore(bindings): drop pkg-config Requires field
2024-10-19 18:31:46 +00:00
ObserverOfTime
4089569934
chore(bindings): improve gitattributes file
...
- Separate bindings into language sections
- Mark all metadata & lockfiles as generated
2024-10-19 18:31:46 +00:00
ObserverOfTime
5df4706b19
chore(bindings): clean up package.json
...
- Use PARSER_URL in repository
- Remove tree-sitter section
2024-10-19 18:31:46 +00:00
ObserverOfTime
66dab20462
feat(bindings): auto-detect scanners
2024-10-19 18:31:09 +00:00
ObserverOfTime
881c54e462
fix(lib): handle compiler warnings
2024-10-19 02:57:08 +00:00
Amaan Qureshi
40606dd632
feat: add version subcommand for versioning grammars
2024-10-18 22:08:57 -04:00
Owen Shepherd
e87181ec9c
fix(cli): remove unnecessary referencing/dereferencing in build_parse_table
...
These were probably optimized away, and in any case are only run once,
per CLI run, but may as well remove them.
2024-10-17 15:25:44 -04:00
Amaan Qureshi
3b55003fd5
fix(init): use camel name from config in missing spots
2024-10-14 19:07:55 -04:00
Amaan Qureshi
38e3e51fca
feat(rust): add Language::node_kind_is_supertype
2024-10-14 17:53:22 -04:00
Will Lillis
4705a3153a
feat: Add CST pretty-printer for parser output
...
Co-authored-by: Amaan Qureshi <amaanq12@gmail.com>
2024-10-12 18:37:12 -04:00
Amaan Qureshi
72f114fa12
perf(loader): improve language lookup speed
2024-10-12 03:08:57 -04:00
Amaan Qureshi
538a197976
fix(lib): correct unexpected side effect in get_column when the lexer is at EOF
2024-10-08 23:27:42 -04:00
Amaan Qureshi
9c08edb066
build: configure clippy lints at the workspace level
2024-10-08 21:07:41 -04:00
Amaan Qureshi
dbe8bbf480
feat: move scripts to xtasks
2024-10-08 21:07:41 -04:00
Will Lillis
5c6445edea
chore: misc clippy lints
2024-10-06 17:55:00 -04:00
Amaan Qureshi
cc2caecf7a
build: tweak Cargo.tomls
2024-10-06 01:48:43 -04:00
JCWasmx86
099fd4efb7
feat: allow setting the output directory for generated source files
2024-10-05 21:52:07 -04:00
Amaan Qureshi
8943983df6
feat!: properly handle UTF-16 endianness encoding
2024-10-05 21:12:48 -04:00
Amaan Qureshi
cf8ed78a9a
feat: bump version to 0.25
2024-10-05 20:23:40 -04:00
Amaan Qureshi
6be6a40bdf
fix(cli): do not stop printing dot graphs until edits are re-parsed
2024-10-05 20:08:34 -04:00
ObserverOfTime
21a34f9124
fix(templates): properly replace author email
2024-10-05 17:23:09 -04:00
ObserverOfTime
95f24e0364
chore(templates): update npm packages
2024-10-05 17:23:09 -04:00
Carlo Cabrera
079c69313f
build(make): fix tree-sitter.pc generation ( #3745 )
2024-10-05 18:27:21 +03:00
Amaan Qureshi
c611e15a31
chore(cli): minor correction in comments
2024-10-05 01:41:05 -04:00
ObserverOfTime
a397b454a3
build(bindings): improve cmake file
...
- Use placeholders for version, description, homepage
- Add option for `TREE_SITTER_REUSE_ALLOCATOR`
- Define `TREE_SITTER_DEBUG` in debug mode
2024-10-04 11:15:29 -04:00
ObserverOfTime
1d76ec3a1c
feat: drop legacy binding updates
2024-10-04 11:01:51 -04:00
Amaan Qureshi
693a403acd
0.24.1
2024-10-04 00:47:45 -04:00
Amaan Qureshi
2047b22ae5
fix(generate): move generated header files into the generate crate
2024-10-04 00:47:30 -04:00
Amaan Qureshi
dfc891a5ce
0.24.0
2024-10-04 00:16:20 -04:00
Amaan Qureshi
671a075fd6
fix(build): force rebuild parsers when build is invoked
2024-10-03 22:00:13 -04:00
Amaan Qureshi
49bda0e2c5
fix(generate): filter out unused rules in other spots
2024-10-03 19:32:09 -04:00
Sergio A. Vargas
e4dec3d3d8
fix(generate): add *.scm section to .editorconfig template
2024-10-03 16:41:47 -04:00
Amaan Qureshi
99a0ddc4c2
fix(generate): remove unused rules
2024-10-03 16:40:51 -04:00
Amaan Qureshi
19c33b1ef7
fix(build): correct wasm root path lookup
2024-10-03 16:23:55 -04:00
Amaan Qureshi
8500e331eb
fix(init): do not migrate package.json on error
2024-10-02 16:25:29 -04:00
ObserverOfTime
c3d45a0153
fix(init): don't prompt to reconfigure
...
This allows the command to be used in scripts or CI
2024-10-01 11:37:57 -04:00
ObserverOfTime
608506cb57
fix(init): fix some schema issues
...
- Validate CamelCase name, TextMate scope
- Skip serialization of unused properties
- Disallow additional properties in schema
2024-10-01 11:37:57 -04:00