protobuf-ast-parser 0.1.0

A Protocol Buffers (proto2/proto3) parser that produces a typed AST with comments
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# protobuf-parser

A Rust parser for Protocol Buffers (proto2 and proto3) built with LALRPOP + Logos.
It focuses on turning `.proto` files into a lightweight AST while preserving comments,
which is handy for tooling, linting, and analysis workflows.

## Usage

```rust
use protobuf_parser::parse;

let source = r#"
syntax = "proto3";
message User { string name = 1; }
"#;

let ast = parse(source)?;
```