Clone this repo:
  1. 89aecb1 Update README.md (#161) by Devon Carew · 5 months ago main
  2. a8575b7 Update macros README. (#160) by David Morgan · 5 months ago
  3. 1e13d2f fix converting type annotations (#157) by Karol · 7 months ago
  4. 4c4adc1 separate out benchmark into 4 stages: create, serialize, deserialize, hash (#154) by Jacob MacDonald · 7 months ago
  5. 587ff2a add benchmarks for normal Dart classes, serialized to JsonBuffers (#153) by Jacob MacDonald · 7 months ago

Overview

[!IMPORTANT]
This repository was a work-in-progress prototype for the macros feature, which was canceled in January 2025.

For related work, see:

Packages

PackageDescriptionVersion
_analyzer_macrosMacro support for the analyzer.
_cfe_macrosMacro support for the CFE.
_macro_builderBuilds macros.
_macro_clientConnects user macro code to a macro host.
_macro_hostHosts macros.
_macro_runnerRuns macros.
_macro_serverServes a macro_service.
_test_macrosSome test macros.
dart_modelData 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.pub package
macroFor implementing a macro.pub package
macro_serviceMacro communication with the macro host.pub package
generate_dart_model

Publishing automation

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.