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

Port configuration source generators to incremental #837

Open
chyyran opened this issue Feb 10, 2022 · 1 comment
Open

Port configuration source generators to incremental #837

chyyran opened this issue Feb 10, 2022 · 1 comment

Comments

@chyyran
Copy link
Member

chyyran commented Feb 10, 2022

https://github.com/dotnet/roslyn/blob/main/docs/features/incremental-generators.md
https://andrewlock.net/creating-a-source-generator-part-1-creating-an-incremental-source-generator/

If we can implement this at a property-level scope, we should endeavour to extract an API out so that orchestration plugins can use them and generate config.

@chyyran
Copy link
Member Author

chyyran commented Jun 4, 2022

A big drawback + advantage is that configuration templates have to be compiled. This is similar to how Windows handles metadata for projections but makes it difficult to handle things like Cemu graphics packs that are updated via XML.

We need to provide primitives to generate a configuration template AST from aribtrary parsed ASt.

@chyyran chyyran removed the chore label Aug 15, 2022
@chyyran chyyran added this to the API 1.0 milestone Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant