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
- Host: GitHub
- URL: https://github.com/marcelog/ex_abnf_example
- Owner: marcelog
- License: apache-2.0
- Created: 2015-08-29T18:18:00.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2017-01-22T21:10:22.000Z (over 9 years ago)
- Last Synced: 2025-02-22T16:05:53.076Z (over 1 year ago)
- Language: Elixir
- Size: 7.81 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.