Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
github:
uses: tree-sitter/workflows/.github/workflows/release.yml@main
with:
abi-version: "14"
abi-version: "15"
generate: true
attestations: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why remove attestations?





13 changes: 9 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Run tests

on:
push:
pull_request:
workflow_dispatch:

jobs:
Expand All @@ -11,11 +13,14 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up tree-sitter
uses: tree-sitter/setup-action/cli@v1
uses: tree-sitter/setup-action@v2
- name: Run parser and binding tests
uses: tree-sitter/parser-test-action@v2
uses: tree-sitter/parser-test-action@v3
with:
generate: false
go-version: "1.25"
python-version: "3.14"
zig-version: "0.15.2"

test-against-c3c:
name: Test against stdlib and test suite
Expand All @@ -36,13 +41,13 @@ jobs:
with:
repository: c3lang/c3c
latest: true
fileName: c3-ubuntu-22.tar.gz
fileName: c3-linux.tar.gz
tarBall: true
zipBall: false
extract: true
token: ${{ secrets.GITHUB_TOKEN }}
- name: Install tree-sitter
uses: tree-sitter/setup-action@v1
uses: tree-sitter/setup-action@v2
with:
install-lib: true
install-cli: false
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
node_modules
build
log.html

target
# Grammar volatiles
/*.wasm
/*.obj
/*.o
Cargo.lock
.cache
.vscode
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ readme = "README.md"
keywords = ["incremental", "parsing", "tree-sitter", "c3"]
categories = ["parser-implementations", "parsing", "text-editors"]
repository = "https://github.com/c3lang/tree-sitter-c3"
edition = "2021"
edition = "2024"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this required?

autoexamples = false

build = "bindings/rust/build.rs"
Expand Down
51 changes: 35 additions & 16 deletions bindings/c3/tree_sitter_c3.c3l/manifest.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bindings/go/go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions bindings/rust/lib.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/c3lang/tree-sitter-c3

go 1.22
go 1.25

require github.com/tree-sitter/go-tree-sitter v0.24.0