iso_14977

Crates.ioiso_14977
lib.rsiso_14977
version0.1.0
sourcesrc
created_at2020-11-08 01:20:45.039345
updated_at2020-11-08 01:20:45.039345
descriptionHopefully ISO 14977 compliant EBNF parser in Rust
homepage
repositoryhttps://github.com/hbina/iso_14977
max_upload_size
id309780
size27,100
Hanif Ariffin (hbina)

documentation

README

EBNF Parser Library (Hopefully ISO compliant!)

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.

Commit count: 23

cargo fmt