An open API service indexing awesome lists of open source software.

https://github.com/marcelog/ex_abnf_example

Sample application that demonstrates the use of ex_abnf to implement grammar parsers in Elixir
https://github.com/marcelog/ex_abnf_example

Last synced: about 1 year ago
JSON representation

Sample application that demonstrates the use of ex_abnf to implement grammar parsers in Elixir

Awesome Lists containing this project

README

          

# ex_abnf_example

This is a sample application that demonstrates the use of [ex_abnf](https://github.com/marcelog/ex_abnf) to
implement [ABNF](https://en.wikipedia.org/wiki/Augmented_Backus%E2%80%93Naur_Form) grammar parsers in
[Elixir](http://elixir-lang.org). The original article/tutorial for this application is located at [http://marcelog.github.io/articles/abnf_grammars_in_elixir.html](http://marcelog.github.io/articles/abnf_grammars_in_elixir.html).

The [sample grammar](https://github.com/marcelog/ex_abnf_example/blob/master/priv/postal_code.abnf) is
taken from the [ABNF wiki](https://en.wikipedia.org/wiki/Augmented_Backus%E2%80%93Naur_Form#Example) and
a [simple test](https://github.com/marcelog/ex_abnf_example/blob/master/test/ex_abnf_example_test.exs) demonstrates how it works.

# LICENSE
The source code is released under Apache 2 License.

Check [LICENSE](https://github.com/marcelog/ex_abnf_example/blob/master/LICENSE) file for more information.