Skip to content

Conversation

@leighmcculloch
Copy link
Member

@leighmcculloch leighmcculloch commented May 16, 2025

What

Add support for providing custom generators to the XDR compilation process.

Why

To make it possible to use the xdrgen library to generate xdr with generators not defined in the library. As a first step for moving the generators to their respective repos. Some generators, such as the Rust generator and the JS generator, are tightly coupled with the library they generate code for. Because of that the separation of the generator into the xdrgen repo makes for an awkward development cycle, and since the code generated is not particularly portable, little benefit.

Related:

@leighmcculloch leighmcculloch marked this pull request as ready for review May 16, 2025 12:54
@leighmcculloch leighmcculloch requested a review from dmkozh May 16, 2025 12:54
Copy link
Contributor

@Shaptic Shaptic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great idea, 👍 :shipit:

@leighmcculloch leighmcculloch merged commit 614e84b into master May 19, 2025
5 checks passed
@leighmcculloch leighmcculloch deleted the custom-generators branch May 19, 2025 22:42
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