dart-lang / macros

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

Design and implement host<->macro protocol #15

Open davidmorgan opened 3 weeks ago

davidmorgan commented 3 weeks 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 2 weeks ago

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