Simple AST library for Protocol Buffers (proto3) in Golang
This package provides constructs defined Protocol Buffers Version 3 Language Specification.
It is designed to create a Protocol Buffers' AST by those constructs, but not designed to parse ".proto" files.
One of the typical use cases is builing a Protocol Buffers' AST when transforming an AST defined for a different language.
printer
sub-package allows us to output an AST to io.Writer
in Protocol Buffers' file format.
This package is "go gettable".
go get github.com/oshothebig/pbast
- Protocol Buffers
Apache License Version 2.0