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

[V4] Add Python to ProgramingLanguage type #138

Open
wants to merge 1 commit into
base: ASN1SCC_V4
Choose a base branch
from

Conversation

lewyg
Copy link

@lewyg lewyg commented Feb 3, 2018

The first step in the implementation of Python code generation.
Referenced to #125

@maxime-esa
Copy link
Owner

maxime-esa commented Mar 12, 2018

Hi, we are going to integrate your contribution in the future version of ASN1SCC, but this will require some additional refactoring which is not ready yet. We are trying to prioritize the closure of existing bugs and complete the V4 before diving into the introduction of new features.

Could you create a new branch (based on branch ASN1SCC_V4) and put all your code there, so that it is available, and when the main branch is ready it will be merged?

Thank you, and sorry for taking so much time to give feedback - we really appreciate your work on the Python backend, which will give a major added value to the compiler.

@lewyg
Copy link
Author

lewyg commented Mar 13, 2018

Hi, thanks for interest ;) I can refactor code in few days.
But ASN1SCC_V4 is still in progress, so after some time I will have to refactor all code again. Maybe better idea is to integrate my changes step by step, like it was said before?

@mcejp
Copy link

mcejp commented Oct 1, 2018

Hi @lewyg, I am very interested in using your codebase to generate Python code from ASN+ACN specs.

I have been looking at the py_lang branch in your fork. Would that be the most up-to-date in terms of Python output support? Is there anywhere I can learn more about your work on this, since it doesn't seem like the upstream merge is going to happen anytime soon?

@ttsiodras
Copy link
Collaborator

ttsiodras commented Oct 1, 2018

@cejpmart Note that one of the reasons we haven't merged this work in (the primary reason being the workload) is that there is already a different way to handle ASN.1 from within Python via ASN1SCC - just read this post to see an example (search for test.py).

This is using another part of TASTE, the Data Modelling Tools - that offer Python bindings via ctypes, as well as other functionalities - like mapping the ASN.1 data into and out of databases (via sqlAlchemy).

Have a look - it may very well cover your Pythonic ASN.1 needs (it does for us in TASTE).

@mcejp
Copy link

mcejp commented Oct 2, 2018

@ttsiodras Thanks for your reply, I didn't know that the DMT-generated Python code included functions for ACN encoding.

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

Successfully merging this pull request may close these issues.

4 participants