-
Notifications
You must be signed in to change notification settings - Fork 95
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
virtual: Factor out code generation templates #540
Conversation
d8334b5
to
26c93ef
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you elaborate why you chose python source files parsed by the ast module to store the templates, and what advantage that provides over, for example, using YAML, TOML, or JSON?
b8685d5
to
8995c73
Compare
Since the template values are directly consumed by |
7ab421c
to
062f6db
Compare
This makes the code generation script more generic by factoring out templates into separate files. Signed-off-by: Daiki Ueno <[email protected]>
This moves the pkcs11-json submodule under "subprojects", following the Meson subprojects convention. This allows the submodule to be automatically initialized when running meson setup. Signed-off-by: Daiki Ueno <[email protected]>
062f6db
to
fab2dd3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look fine by me. The threads have been addressed except for one.
Thank you for the reviews! |
This makes the current code generation script more generic by factoring out the templates into a separate file.