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

Source Generators: Why additive only? #43976

Closed
flipchart opened this issue May 5, 2020 · 2 comments
Closed

Source Generators: Why additive only? #43976

flipchart opened this issue May 5, 2020 · 2 comments
Labels
Question Resolution-External The behavior lies outside the functionality covered by this repository

Comments

@flipchart
Copy link

I was really hoping for something along the lines of Rust's macro system so that I could remove some runtime updates I do to Expressions (via visitors) and replace it with compile time code. Being able to alter the code at the statement level would make C# sooo much more expressive. It could mean a lot of proposed features could be implemented as generators - like record classes.

@u7pro
Copy link

u7pro commented May 5, 2020

supporting code rewrite needs more work on area like c# language, visual studio..

you can get more info on dotnet/csharplang#107

@CyrusNajmabadi
Copy link
Member

Closing out as question has been answered.

@CyrusNajmabadi CyrusNajmabadi added Question Resolution-External The behavior lies outside the functionality covered by this repository labels May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Resolution-External The behavior lies outside the functionality covered by this repository
Projects
None yet
Development

No branches or pull requests

3 participants