Nadrieril / dhall-rust

Maintainable configuration files, for Rust users
Other
303 stars 27 forks source link

abnf to pest issues #241

Closed letto4135 closed 7 months ago

letto4135 commented 7 months ago

This is an oasis odata abnf https://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/abnf/odata-abnf-construction-rules.txt

using the example for how to use abnf to pest crate it errors almost instantly once it is past the comments at the beginning, and I don't know enough about abnf or pest to know why, but thought you might.

called `Result::unwrap()` on an `Err` value: Custom { kind: Other, error: "0: at line 105, in Eof:\nodataRelativeUri = '$batch'                           ; Note: case-sensitive!\n^\n\n" }

Ultimately I was trying to convert this abnf to antlr then to Golang, but found this and thought I'd try it out.

Nadrieril commented 7 months ago

I'm using the abnf crate to parse abnf files, the error comes from them. I don't know much more, you might want to ask over there. Neither this nor them is maintained much though