anweiss / cddl

Concise data definition language (RFC 8610) implementation and JSON and CBOR validator in Rust
https://cddl.anweiss.tech
MIT License
91 stars 13 forks source link

Implement basic deferred parsing #200

Closed jrandolf-2 closed 1 year ago

jrandolf-2 commented 1 year ago

This PR implements rudimentary deferred parsing. It continues to not support generic parameters, however typenames/groupnames are fully disambiguated and thus cddl is now correct.

anweiss commented 1 year ago

Thanks for this @jrandolf! Appreciate you helping to clean this up as this ambiguity has posed some validation issues to date.

jrandolf-2 commented 1 year ago

Oh no! You merged it too soon! I had some changes left. I'll put them in another PR.

anweiss commented 1 year ago

Ah my b! No worries