-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Consider using source generators for currently generated code #13236
Copy link
Copy link
Closed
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreWG-Enginecore PowerShell engine, interpreter, and runtimecore PowerShell engine, interpreter, and runtime
Description
Currently PowerShell uses a fair amount of generated code, for example:
- The default formatters are all autogenerated and there's discussion about refactoring them to improve startup performance already
- Much of the core interpreter was generated in Python many years ago. There has been discussion in the past about updating our dependency on the LightCompiler
Instead, we could keep generated code out of the checked-in files by defining it as generated at build time using .NET Source Generators.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Issue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-No ActivityIssue has had no activity for 6 months or moreIssue has had no activity for 6 months or moreWG-Enginecore PowerShell engine, interpreter, and runtimecore PowerShell engine, interpreter, and runtime