ystero-dev / hampi

Rust ASN.1 Toolkit
Other
43 stars 18 forks source link

Support for `COMPONENTS OF` Notation in asn1-compiler #94

Open GreenYun opened 1 year ago

GreenYun commented 1 year ago

As described in X.680 specification, notation COMPONENTS OF is used to define the inclusion, at this point in the list of components, of all the component types.

When I tried to compile such a Type Definition from MHEG-5.asn1, the compiler failed and throw the error when parsing ApplicationClass. As I commented out the line COMPONENTS OF GroupClass, it passed and throwing errors on the next similar line.

I am looking forward to the support for this notation.

gabhijit commented 1 year ago

@GreenYun : Will take this up after the BER codec support. That work is pending for quite some time. In the meanwhile, any PR for the same is welcome.