README.md

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