Skip to content

Commit df37784

Browse files
authored
Add protobuf-parser-bash (#80)
1 parent d13320d commit df37784

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
layout: post
3+
title: "lafkpages/protobuf-parser-bash"
4+
description: "A Protobuf parser, encoder and decoder in Bash."
5+
category: bash
6+
tags: [library, lib, bash, parser, protobuf]
7+
---
8+
9+
{% include JB/setup %}
10+
11+
# protobuf-parser
12+
13+
A Protobuf parser, encoder and decoder in Bash.
14+
15+
## Install
16+
17+
You'll need `protoc` for running some of the test scripts, but of course
18+
you can use the library without it.
19+
20+
To install this package, run:
21+
22+
```bash
23+
bpkg install lafkpages/protobuf-parser-bash
24+
```
25+
26+
## Usage
27+
28+
Then, to lex and parse a `.proto` file, run:
29+
30+
```bash
31+
./src/main.sh <path-to-proto-file>
32+
```
33+
34+
You can try it with the [`test/example.proto`](#test/example.proto) file:
35+
36+
```bash
37+
./src/main.sh test/example.proto
38+
```
39+
40+
## Links
41+
42+
- [Source code (GitHub)](https://github.com/lafkpages/protobuf-parser-bash)
43+
- [Author: LuisAFK](https://github.com/lafkpages)

0 commit comments

Comments
 (0)