kimgr / asn1ate

A Python library for translating ASN.1 into other forms.
Other
69 stars 41 forks source link

interdependent asn1 files to py files #71

Closed sky4133 closed 3 years ago

sky4133 commented 3 years ago

pyasn1gen.py can only transform one asn1 file to python. So how can i transform several asn1 files which are interdependent to py files?

kimgr commented 3 years ago

The multi-module problem isn't really solved in asn1ate.

The only way I can think of to work around this is to cat the files together in dependency order, and run the result through pyasn1gen.py.

vpiserchia commented 3 years ago

hi, I'm working on this exact use case and cooked a patch here: https://github.com/kimgr/asn1ate/pull/72