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

chore: introduce the Synthesizer trait #101

Merged
merged 2 commits into from
Apr 18, 2023
Merged

Conversation

RomainMuller
Copy link
Contributor

@RomainMuller RomainMuller commented Apr 17, 2023

Initial work to generalize the contract of synthesizers to prepare for addition of more target languages. The current API is very bare bones, and may be modified/expanded in the future.

Initial work ot generalize the contract of synthesizers to prepare for
addition of more target languages. The current API is very bare bones,
and may be modified/expanded in the future.
Copy link
Collaborator

@iph iph left a comment

Choose a reason for hiding this comment

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

small cleanup of spelling, but love the change.

pub fn output(ir: CloudformationProgramIr) -> String {
let output = &mut String::new();
let mut output = Vec::new();
Copy link
Collaborator

Choose a reason for hiding this comment

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

AHHHH, much cleaner of an interface to write tests against. I'm a fan of this.

@iph iph merged commit 70f01a4 into main Apr 18, 2023
@iph iph deleted the rmuller/minor-improvements branch April 18, 2023 13:34
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