mirror of
https://github.com/valitydev/rebar3_abnf_compiler.git
synced 2024-11-06 01:15:17 +00:00
2fee2289f9
abnfc 0.5.4 |
||
---|---|---|
src | ||
.gitignore | ||
LICENSE | ||
README.md | ||
rebar.config | ||
rebar.lock |
ABNF compiler plugin for rebar3
This plugin adds compiler for ABNF to rebar3.
Requirements
This plugin requires rebar 3.7+.
Build
$ rebar3 compile
Use
Add the plugin to your rebar config:
{plugins, [
{rebar3_abnf_compiler, "0.1.0"}
]}.
Following config options supported:
{abnf_opts, [
{parser, abnfc_rfc4234 | abnfc_rfc4234ext} % Parser generator, default abnfc_rfc4234
binary, % generate parser generator with binary literals instead of list
verbose % verbose mode
]}.