Skip to content

Commit 1f57a16

Browse files
CopilotTimWhiting
andcommitted
Add @Native annotation support for tree-sitter-dart grammar in tree_sitter package
Co-authored-by: TimWhiting <[email protected]>
1 parent 5468c45 commit 1f57a16

16 files changed

+151
-352
lines changed

README.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
11
# tree-sitter-dart
2-
32
This is a tree-sitter grammar written for the dart programming language. We attempt to adhere as closely as possible to the dart language spec. Initially it was started with a copy of the tree-sitter Java grammar which is why there may be a few relics included in here. For the sake of simplifying the syntax tree, many items were made inlined with tree-sitter's "underscore" method of writing rules.
43

5-
## Language Bindings
6-
7-
This repository provides bindings for multiple languages:
8-
9-
- **C**: See `bindings/c/` for C header files
10-
- **Dart**: See `bindings/dart/` for Dart Native FFI bindings (requires Dart 3.0+)
11-
- **Go**: See `bindings/go/` for Go bindings
12-
- **Node.js**: See `bindings/node/` for Node.js bindings
13-
- **Python**: See `bindings/python/` for Python bindings
14-
- **Rust**: See `bindings/rust/` for Rust bindings
15-
- **Swift**: See `bindings/swift/` for Swift bindings
16-
17-
Each binding directory contains its own README with specific usage instructions.
18-
194
# Getting Started
205
- Go to the project directory
216
- run `npm install` (first time)

bindings/dart/.gitignore

Lines changed: 0 additions & 17 deletions
This file was deleted.

bindings/dart/CHANGELOG.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

bindings/dart/LICENSE

Lines changed: 0 additions & 20 deletions
This file was deleted.

bindings/dart/README.md

Lines changed: 0 additions & 68 deletions
This file was deleted.

bindings/dart/analysis_options.yaml

Lines changed: 0 additions & 30 deletions
This file was deleted.

bindings/dart/example/example.dart

Lines changed: 0 additions & 37 deletions
This file was deleted.

bindings/dart/lib/tree_sitter_dart.dart

Lines changed: 0 additions & 85 deletions
This file was deleted.

bindings/dart/pubspec.yaml

Lines changed: 0 additions & 14 deletions
This file was deleted.

bindings/dart/test/tree_sitter_dart_test.dart

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)