Skip to content
This repository was archived by the owner on Nov 12, 2024. It is now read-only.

sync upstream #1

Open
wants to merge 73 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
0b6e655
fix: allow try_statement without catch/finally_clause
theHamsta Apr 15, 2023
19f8579
Merge pull request #41 from theHamsta/try-optional-catch-finally
TimWhiting May 4, 2023
672d0b6
add class modifiers support
TimWhiting May 4, 2023
4990d6f
fix constructor tearoffs
TimWhiting May 4, 2023
4f64e33
fix super invocation args
TimWhiting May 4, 2023
bd4cb24
support enhanced enums
TimWhiting May 4, 2023
3abbd3a
restore deleted files
TimWhiting May 4, 2023
939e5e1
add highlighting support to test suite
TimWhiting May 5, 2023
e22648d
update test script
TimWhiting May 14, 2023
d56cc08
record literals and removing expression and statement top level
TimWhiting May 16, 2023
8aa8ab9
add nullable types to visible tree
TimWhiting May 19, 2023
08cdbbe
record types
TimWhiting May 23, 2023
67eef86
add in pattern support
TimWhiting May 23, 2023
6924019
add pattern variable declarations
TimWhiting May 23, 2023
1a525ed
Another pattern fix
TimWhiting May 23, 2023
b09a863
Add tree sitter dart
TimWhiting May 28, 2023
398af69
add some idiomatic code
TimWhiting May 28, 2023
de2c2db
updates
TimWhiting Jun 2, 2023
0033b22
start working on generating extension methods to help navigate a tree…
TimWhiting Jun 2, 2023
9211496
add single file test
TimWhiting Jun 9, 2023
f25c18a
speed improvements
TimWhiting Jun 13, 2023
e398400
updates
TimWhiting Jun 13, 2023
b55b90f
fix issues with annotations
TimWhiting Aug 24, 2023
bcef6d5
update highlights
TimWhiting Aug 24, 2023
7e447dc
update annotations for formal parameters
TimWhiting Sep 8, 2023
ccf4a03
update pubspec constraints, and add sample from moduloValue
TimWhiting Oct 17, 2023
e14bbac
fix issue with string encoding length
TimWhiting Oct 18, 2023
6b9a60e
Remove duplicate submodule
valerybugakov Nov 3, 2023
f71e310
Merge pull request #59 from valerybugakov/vb/fix-duplicate-submodules
TimWhiting Nov 3, 2023
e09eafd
fixed issue where > and < were treated like operators within type arg…
matthewnitschke Feb 10, 2024
31ea08b
Merge pull request #61 from matthewnitschke/fix_type_args_as_brackets
TimWhiting Feb 10, 2024
8aeff90
fixed identifier tagging
matthewnitschke Feb 11, 2024
4009132
updated tests
matthewnitschke Feb 11, 2024
1a31399
Merge pull request #62 from matthewnitschke/fixed_identifier_typing
TimWhiting Feb 11, 2024
2ae0944
fixed keyword highlighting
matthewnitschke Mar 31, 2024
51a4860
bumped deps
matthewnitschke Mar 31, 2024
7a31497
updated res
matthewnitschke Mar 31, 2024
bb41234
fixed broken tests
matthewnitschke Mar 31, 2024
8f26078
added new test for keywords
matthewnitschke Mar 31, 2024
3f41382
added keywords as variables test
matthewnitschke Mar 31, 2024
1e995cd
reset test.dart
matthewnitschke Mar 31, 2024
7861a48
Merge pull request #64 from matthewnitschke/fixed_keyword_highlighting
TimWhiting Apr 2, 2024
b44cf78
fixed function highlighting
matthewnitschke Apr 6, 2024
8a6cd6f
test modifications
matthewnitschke Apr 6, 2024
efd75cf
reset test.dart
matthewnitschke Apr 6, 2024
2dc3bd1
fixed enum constant highlighting
matthewnitschke Apr 6, 2024
b62a295
resolved issues with rust bindings
matthewnitschke Apr 6, 2024
adf31d8
Merge pull request #66 from matthewnitschke/fixed_enum_constant_highl…
TimWhiting Apr 7, 2024
ceedf12
Merge branch 'master' into fixed_function_highlighting
TimWhiting Apr 7, 2024
1aef5a6
Merge pull request #65 from matthewnitschke/fixed_function_highlighting
TimWhiting Apr 7, 2024
923fbe0
Merge pull request #67 from matthewnitschke/fix_rust_bindings
TimWhiting Apr 7, 2024
18bb2c4
resolved issue caused from bad merge
matthewnitschke Apr 7, 2024
8451dc7
removed no longer valid comment
matthewnitschke Apr 7, 2024
6da4647
Merge pull request #68 from matthewnitschke/fixed_bad_merge
TimWhiting Apr 8, 2024
bf8d719
additional highlight fixes
matthewnitschke Apr 23, 2024
3450531
resolved failed tests
matthewnitschke Apr 23, 2024
4437aab
re-resolved error?
matthewnitschke Apr 23, 2024
4e10105
Merge pull request #70 from matthewnitschke/additional_highlight_fixes
TimWhiting Apr 23, 2024
597f6d4
fix(grammar): adapt to upstream regex change
clason Apr 27, 2024
ac0bb84
Merge pull request #71 from clason/fix/regex
TimWhiting Apr 28, 2024
311a009
Updates to for tree-sitter 0.22.6
Aug 10, 2024
cf72df5
Merge pull request #74 from kritzcreek/tree-sitter-0.22.6
TimWhiting Aug 10, 2024
8197a31
fixed Go binding
asalvi0 Sep 1, 2024
c2fefa2
reverted formatting changes
asalvi0 Sep 1, 2024
9ac03bb
Merge pull request #75 from asalvi0/master
TimWhiting Sep 1, 2024
51f6049
Support tags query
malkoG Nov 1, 2024
968612b
Support tag query for definition
malkoG Nov 1, 2024
c2cc099
Support tag query for reference
malkoG Nov 2, 2024
a7496b9
Merge pull request #77 from malkoG/master
UserNobody14 Nov 3, 2024
cd1c0df
Swift - Fix Missing Scanner File
thecoolwinter Nov 17, 2024
e81af6a
Merge pull request #78 from thecoolwinter/fix/linker-error
TimWhiting Nov 17, 2024
fc18d00
fix: add scanner to python setup
m-truscott Feb 28, 2025
80e23c0
Merge pull request #80 from m-truscott/fix/python-setup
TimWhiting Feb 28, 2025
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
39 changes: 39 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.{json,toml,yml,gyp}]
indent_style = space
indent_size = 2

[*.js]
indent_style = space
indent_size = 2

[*.rs]
indent_style = space
indent_size = 4

[*.{c,cc,h}]
indent_style = space
indent_size = 4

[*.{py,pyi}]
indent_style = space
indent_size = 4

[*.swift]
indent_style = space
indent_size = 4

[*.go]
indent_style = tab
indent_size = 8

[Makefile]
indent_style = tab
indent_size = 8
11 changes: 11 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
* text eol=lf

src/*.json linguist-generated
src/parser.c linguist-generated
src/tree_sitter/* linguist-generated

bindings/** linguist-generated
binding.gyp linguist-generated
setup.py linguist-generated
Makefile linguist-generated
Package.swift linguist-generated
22 changes: 22 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI

on:
pull_request:
push:
branches:
- master

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install
- run: npm test
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,10 @@ package-lock.json
.dart_tool
.packages
pubspec.lock
.antlr
*.so
*.dll
*.dylib
doc
.vscode
target
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "tree-sitter"]
path = tree_sitter/tree-sitter
url = [email protected]:tree-sitter/tree-sitter
71 changes: 71 additions & 0 deletions Cargo.lock

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

9 changes: 2 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,13 @@ edition = "2018"
license = "MIT"

build = "bindings/rust/build.rs"
include = [
"bindings/rust/*",
"grammar.js",
"queries/*",
"src/*",
]
include = ["bindings/rust/*", "grammar.js", "queries/*", "src/*"]

[lib]
path = "bindings/rust/lib.rs"

[dependencies]
tree-sitter = "0.17"
tree-sitter = "0.22.6"

[build-dependencies]
cc = "1.0"
Loading