Skip to content

lafkpages/protobuf-parser-bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

protobuf-parser-bash

A Protobuf parser, encoder and decoder in Bash.

Install

You'll need protoc for running some of the test scripts, but of course you can use the library without it.

All you need to do is clone the repository:

git clone https://github.com/lafkpages/protobuf-parser-bash.git
cd protobuf-parser-bash

Or, use bpkg to install it:

bpkg install lafkpages/protobuf-parser-bash

Usage

Then, to lex and parse a .proto file, run:

./src/schema/protobuf-schema-main.sh <path-to-proto-file>

You can try it with the test/example.proto file:

./src/schema/protobuf-schema-main.sh test/example.proto

About

A Protobuf parser, encoder and decoder in Bash.

Resources

License

Stars

Watchers

Forks

Packages

No packages published