Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using asn1tools to generate classes in Python/other languages #188

Open
Dave-Krch opened this issue Oct 1, 2024 · 1 comment
Open

Using asn1tools to generate classes in Python/other languages #188

Dave-Krch opened this issue Oct 1, 2024 · 1 comment

Comments

@Dave-Krch
Copy link

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#.

@Futsch1
Copy link
Collaborator

Futsch1 commented Oct 2, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants