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

Refactor the code generation and split it into language specific generators #527

Merged
merged 10 commits into from
Dec 14, 2023

Conversation

tmadlener
Copy link
Collaborator

BEGINRELEASENOTES

  • Split the ClassGenerator into a base class (mixin) and two specific c++ and julia code generators that only deal with their language specific needs.
    • Instantiate and configure the correct reader in the podio_class_generator.py main script depending on the desired language.
  • Slightly cleanup the MemberVariable to declutter its __init__ method a bit.

ENDRELEASENOTES

This resolves the main design issue mentioned in #473 (review)

Apart from implementing the basics for the mixin this is mainly just shuffling code around.

@tmadlener tmadlener force-pushed the cleanup-code-gen branch 2 times, most recently from e680f67 to bc593dc Compare December 7, 2023 14:30
@tmadlener tmadlener mentioned this pull request Dec 7, 2023
2 tasks
@tmadlener
Copy link
Collaborator Author

@hegner does anything speak against merging this? Should make experimenting with julia a bit easier.

@tmadlener
Copy link
Collaborator Author

Merging this to let the nightlies pick it up before a new tag for the next LCG release

@tmadlener tmadlener merged commit 129c439 into AIDASoft:master Dec 14, 2023
18 checks passed
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.

2 participants