/pbast

Simple AST library for Protocol Buffers (proto3) in Golang

Primary LanguageGoApache License 2.0Apache-2.0

pbast Build Status

Simple AST library for Protocol Buffers (proto3) in Golang

Description

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.

Install

This package is "go gettable".

go get github.com/oshothebig/pbast

Reference

License

Apache License Version 2.0