rktdm
8b5b49eb19
chore: temporarily disable node binding test
3 месяцев назад
rktdm
80f5bd82d3
chore: update tree-sitter-c, tree-sitter-cli, regenerate with ABI 15
3 месяцев назад
rktdm
a0d1092dd7
feat: additional modules support
- allow module related statements to appear in preprocessor blocks
- export declarations can now appear anywhere other declarations can
3 месяцев назад
rktdm
12bd6f7e96
chore: generate
8 месяцев назад
rktdm
cacfb40aa7
feat: add support for expansion statements (P1306)
Introduces support for `template for ( init; for-range-decl : expansion-init )`
which is a compile-time way to expand (iterate over):
- expansion expressions
- anything destructurable via structured bindings
- ranges with compile time size
It was sufficient to simply re-use the existing rule for
_for_range_loop_body for the part inside the parentheses, but add the
required sequence of `template` followed by `for`
10 месяцев назад
rktdm
3fd1c51879
feat: add support for annotations (P3394)
Related to reflection, annotations use the same syntax as attributes,
but begin with an `=` and support any constant expression. Annotations
and Attributes can't be mixed within [[ ... ]].
10 месяцев назад
rktdm
c95a0b1403
feat!: add support for reflection (P2996)
This adds support for all the language changes introduced in P2996 which
was recently voted into the upcoming c++26 standard.
This includes:
- reflection expressions: the reflect operator (^^) followed by
expressions, type descriptors, or the global namespace (::)
- splice specifiers/expressions: [: expression :], which can appear as a
type, expression, alias descriptor, and more.
- consteval blocks: similar to static_asserts but have been introduced
specifically to allow constant evaluation side effects to occur at
specific places in code
10 месяцев назад
John Drouhard
2a682d312b
chore: generate
8 месяцев назад
John Drouhard
1832dd742f
chore: update tree-sitter-cli
8 месяцев назад
Antonin Delpeuch
4910efca8d
fix: Support explicit calls to overloaded operators
Closes #252 .
10 месяцев назад
dependabot[bot]
e593e551c5
ci: bump tree-sitter/parser-test-action from 2 to 3
Bumps [tree-sitter/parser-test-action](https://github.com/tree-sitter/parser-test-action ) from 2 to 3.
- [Release notes](https://github.com/tree-sitter/parser-test-action/releases )
- [Commits](https://github.com/tree-sitter/parser-test-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: tree-sitter/parser-test-action
dependency-version: '3'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
8 месяцев назад
dependabot[bot]
e89fbaf0a4
ci: bump actions/setup-node from 4 to 5
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
8 месяцев назад
dependabot[bot]
077f14ffd2
ci: bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
9 месяцев назад
rktdm
5cb9b693cf
chore: generate
10 месяцев назад
rktdm
d749ef5967
feat: support explicit object parameters
10 месяцев назад
John Drouhard
2871652b98
chore: generate
10 месяцев назад
rktdm
6d631146ef
feat: allow extern template instantiantions
Fixes #301
11 месяцев назад
John Drouhard
413a2e6405
chore: generate
10 месяцев назад
eezstreet
b51a1ddea9
Added tests
11 месяцев назад
eezstreet
803a93aa17
Fix function declarations with ms_call_modifier being incorrect.
11 месяцев назад
rktdm
1a05663b21
chore: update swift bindings
11 месяцев назад
rktdm
f80847bbbf
chore: update tree-sitter-cli to 0.25.0 and tree-sitter-c to 0.23.6
11 месяцев назад
Jules Wiriath
56455f4245
Lambda specifiers implementation ( #316 )
1 год назад
John Drouhard
e5cea0ec88
chore: generate
1 год назад
John Drouhard
5e18e2b295
using directives: allow attributes to appear at the beginning
1 год назад
John Drouhard
ac5dc6f4d4
attributes: support [[using attr-namespace: ...]]
1 год назад
John Drouhard
89bfae2595
chore: generate
1 год назад
John Drouhard
557f8f5560
chore: eslint
1 год назад
John Drouhard
4ec3574f70
Cleanup modules rules
- _block_item shouldn't contain module import/export/declarations as
they have to be top-level only
- This allows us to reuse _block_item as the rule for exportable items,
reducing our state count and parser size quite dramatically
1 год назад
Pablo Hugen
dd4086a790
Add missing tests
2 лет назад
Pablo Hugen
b40a491776
Add highlights
2 лет назад
Pablo Hugen
5343337a4c
Implement productions and tests
1 год назад
Michel Lind
1e75b69fc8
Include LICENSE file ( #303 )
This is needed by the MIT license terms
```
❯ cargo package --list | grep LICENSE
LICENSE
```
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
1 год назад
John Drouhard
0a4623a93f
chore: generate
1 год назад
John Drouhard
35a049140d
fix lambda declarator front-attr location in parameter-list-included form
1 год назад
John Drouhard
950b4fc9b3
chore: generate
1 год назад
John Drouhard
4373ae7f74
c++23: support additional lambda expression syntax (P1102R2)
P1102R2 relaxed lambda syntax so that () (empty parameter list) is
optional in more cases.
1 год назад
Amaan Qureshi
a352ed85f7
chore: update `FUNDING.yml`
1 год назад
Amaan Qureshi
b70136fc6b
chore: add `FUNDING.yml`
1 год назад
dependabot[bot]
f41b4f66a4
ci: bump tree-sitter/setup-action from 1 to 2
Bumps [tree-sitter/setup-action](https://github.com/tree-sitter/setup-action ) from 1 to 2.
- [Release notes](https://github.com/tree-sitter/setup-action/releases )
- [Commits](https://github.com/tree-sitter/setup-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: tree-sitter/setup-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
1 год назад
Amaan Qureshi
f41e1a044c
0.23.4
1 год назад
Amaan Qureshi
9669b14f72
fix: disallow recursive `grammar.js` files to be included
1 год назад
Amaan Qureshi
26edde9453
0.23.3
1 год назад
Amaan Qureshi
942f8d8103
build: move `tree-sitter-c` to `dependencies`
1 год назад
Amaan Qureshi
cc4b3cb52f
ci(publish): add attestations and generate parser
1 год назад
Amaan Qureshi
ca14f24ad0
0.23.2
1 год назад
Amaan Qureshi
fd83bb2861
build: update bindings
1 год назад
Amaan Qureshi
16bf9d2c45
build: update bindings
1 год назад
Amaan Qureshi
f7264863be
chore: regenerate
1 год назад
Amaan Qureshi
96cc3bd061
build: update bindings
1 год назад