GitShow/mitchellh/tree-sitter-proto
mitchellh

tree-sitter-proto

A tree-sitter grammar for protocol buffer files (proto3).

by mitchellh
Star on GitHubFork

C

75 stars25 forks1 contributorQuiet · 2y agoSince 2021MIT

Meet the team

See all 1 on GitHub →
mitchellh
mitchellh11 contributions

Languages

View on GitHub →
C93.2%
JavaScript4.5%
Rust1.3%
Nix0.3%
C++0.3%
Scheme0.2%
Other0.2%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
42
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 4 in progress · Last activity 2y ago
See all on GitHub →
fussybeaver
Publish to crates.ioOpenIssue

Thanks for the work to put this project together. I'd like to use this library to do some light parsing in my own open source project, to mitigate shortcomings in prost. However, this repo isn't uploaded to crates.io as far as I can see, which prevents me publishing my crate if I add tree-sitter-proto as a git dependency. Also, would be grateful if the internal tree-sitter core library version is bumped if you do decide to publish.

fussybeaver · 1y ago
eed3si9n
Transfer to tree-sitter org + new team?OpenIssue

Hi, Thanks for creating tee-sitter-proto! We currently use tree-sitter-proto at work as part of https://github.com/bazeltools/bzl-gen-build and I'd be happy to help maintain tree-sitter-proto (I also maintain https://github.com/tree-sitter/tree-sitter-scala as hobby project) to review PRs and maintain CIs. We'd also be happy to send PRs to @treywood fork, but I was wondering if it would be better long-term to contact tree-sitter org and transfer the repo as tree-sitter/tree-sitter-proto and ask them to set up a team of like-minded maintainers. Thanks again

eed3si9n · 1y ago
rewinfrey
Upgrade to Tree-sitter 22.6OpenPR

In addition to upgrading the Tree-sitter version, this patch also updates: Better support for fields. Previously the field grammar reused the production, but this lacks surrounding that field identifiers require. Updates the location of the test corpus files to now be nested in . This is the expected path for the command.

rewinfrey · 2y ago

Recent fixes

View closed PRs →
matze
Highlight optionalMergedPR

made a comeback in protobuf 3.15, so let's highlight it as a keyword similar to .

matze · 1y ago
treywood
basic proto2 supportMergedPR

adds support for some missing proto2 syntax: (and also makes this declaration optional) add support for extensions and allow reserved fields in enum bodies allow fields miscellaneous other fixes multi-line string literals this has been tested against Square's ~7.7k proto files which are all proto2.

treywood · 2y ago
Structured data for AI agents

Repository: mitchellh/tree-sitter-proto. Description: A tree-sitter grammar for protocol buffer files (proto3). Stars: 75, Forks: 25. Primary language: C. Languages: C (93.2%), JavaScript (4.5%), Rust (1.3%), Nix (0.3%), C++ (0.3%). License: MIT. Open PRs: 4, open issues: 3. Last activity: 2y ago. Community health: 42%. Top contributors: mitchellh.

·@ofershap

Replace github.com with gitshow.dev