Important
This repository was a work-in-progress prototype for the macros feature, which was canceled in January 2025.
For related work, see:
- Augmentations feature
build_runnerperformance improvements- Static Metaprogramming feature request
| Package | Description | Version |
|---|---|---|
| _analyzer_macros | Macro support for the analyzer. | |
| _cfe_macros | Macro support for the CFE. | |
| _macro_builder | Builds macros. | |
| _macro_client | Connects user macro code to a macro host. | |
| _macro_host | Hosts macros. | |
| _macro_runner | Runs macros. | |
| _macro_server | Serves a macro_service. |
|
| _test_macros | Some test macros. | |
| dart_model | Data model for information about Dart code, queries about Dart code and augmentations to Dart code. Serializable with a versioned JSON schema for use by macros, generators and other tools. | |
| macro | For implementing a macro. | |
| macro_service | Macro communication with the macro host. | |
| generate_dart_model |
For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.
For additional information about contributing, see our contributing page.