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

Draft: Franca IDL input #129

Closed
wants to merge 7 commits into from
Closed

Conversation

gunnar-mb
Copy link
Collaborator

Author: Gunnar Andersson <[email protected]>, MBition GmbH.

Franca to IFEX conversion

  • A converter from Franca IDL to IFEX model, using the pyfranca parser.
  • It's a draft to show progress, and it might even be dropped because a better approach to model transformation is in the works:

This implementation, and the similar one for Protobuf uses a direct approach with specific functions such as Field_to_Option() to convert a Franca field object to IFEX option -- They are quite readable, and they are compact with heavy use of list-comprehensions, but not very pretty.

All of those could go away in favor of a table-driven (DSL-like) approach to specify how to convert between objects instead.

The program was tested solely for our own use cases, which might differ from yours.

The submission is provided under the main project license (LICENSE file in root of project).

Provider Information

@gunnar-mb gunnar-mb changed the title Draft: Franca preview Draft: Franca IDL input Oct 1, 2024
@gunnar-mb gunnar-mb marked this pull request as draft October 8, 2024 15:10
Installation of the local package for development testing has changed,
because calling setup.py directly is now deprecated (see multiple
sources in python community for more details)

Signed-off-by: Gunnar Andersson <[email protected]>
We might consider some type of consolidation to define identical
concepts in one place - for example many items need a datatype
definition.  But, comparing to Error to Argument, for example, one
difference is that the Error item is optionally named but Arguments must
be named.

Signed-off-by: Gunnar Andersson <[email protected]>
Signed-off-by: Gunnar Andersson <[email protected]>
@gunnar-mb
Copy link
Collaborator Author

Obsoleted by #130

@gunnar-mb gunnar-mb closed this Nov 5, 2024
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.

1 participant