Closed jrandolf-2 closed 1 year ago
@anweiss It's probably worth noting that this does not fix the major bug outlined in the above issue. Sadly CDDL is heavily context-dependent, so in order to parse CDDL properly, you need to either ask that users must write their CDDL in order of "more primitive" groups or implement deferred parsing which defers the instantiation of a symbol till all symbols can be resolved. This latter solution is actually the only true way to implement this because generic types require this.
agreed, thanks @jrandolf! We can make note of this in the README
This is a minimal implementation that doesn't expose any type names at the moment.
Bug: https://github.com/anweiss/cddl/issues/193