Go to file
2021-06-23 14:55:38 +03:00
src abnfc 0.5.4 2021-06-23 14:45:37 +03:00
.gitignore Initial commit 2020-01-27 11:32:31 +03:00
LICENSE Initial commit 2020-01-27 11:32:31 +03:00
README.md Document avaliable options 2020-01-28 13:37:31 +03:00
rebar.config abnfc 0.5.4 2021-06-23 14:45:37 +03:00
rebar.lock abnfc 0.5.4 2021-06-23 14:45:37 +03:00

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
]}.