asn1tools icon indicating copy to clipboard operation
asn1tools copied to clipboard

Using asn1tools to generate classes in Python/other languages

Open Dave-Krch opened this issue 1 year ago • 1 comments

I need to create C# classes from asn1 specification. Has anyone tried to use asn1tools to create static classes in Python or other languages? Also is it possible to rewrite C source generator, without the limitations? If yes, i should be able to make it work for C#.

Dave-Krch avatar Oct 01 '24 09:10 Dave-Krch

You could use the C generated source as a DLL in C#. Generating Python code might not be necessary: for Python, you would use asn1tools directl .

Removing the limitations is possible, but only at the expense of using dynamic memory. The current code doesn't require dynamic memory, which is an advantage especially for embedded systems.

Futsch1 avatar Oct 02 '24 18:10 Futsch1