dart-lang / macros

A Dart mono-repo for macro development.
BSD 3-Clause "New" or "Revised" License
91 stars 5 forks source link

Design and implement host<->macro protocol #15

Open davidmorgan opened 5 months ago

davidmorgan commented 5 months ago

dart_model covers introspection and augmentations; it doesn't cover the high level host<->macro protocol:

We haven't really talked about this yet @jakemac53 I guess because it mostly doesn't seem super complicated. So I'll just throw out what I have ended up assuming, please correct anything that does not make sense / let's discuss anything that looks worth discussing:

How does that sound?

I'm not feeling that this is super urgent yet, mostly filing to flesh out the work we know we need to do for the "breaking changes" milestone.

Thanks.

jakemac53 commented 4 months ago

SGTM, the main question I think is around the versioning.