Crates.io | iso_14977 |
lib.rs | iso_14977 |
version | 0.1.0 |
source | src |
created_at | 2020-11-08 01:20:45.039345 |
updated_at | 2020-11-08 01:20:45.039345 |
description | Hopefully ISO 14977 compliant EBNF parser in Rust |
homepage | |
repository | https://github.com/hbina/iso_14977 |
max_upload_size | |
id | 309780 |
size | 27,100 |
This repository intends to be the ISO 14977 compliant EBNF parser library in Rust. Ironically, it uses pest to generate the syntax tree lol.
I originally needed this to validate a DNS Preferred Name Syntax in RFC 1035. Unfortunately, I am unable to find any crates that can validate a string given some BNF rules. Additionally, the BNF provided in the RFC is not even standard EBNF --- which is kinda sad and dissappointing. Regardless, here it is, a hopefully ISO complaint implementation of it.