Closed gvanrossum closed 2 years ago
I'll hold off on this for a bit until I am more confident about the actual shape of the DSL. At the very least, the input -- outputs
part needs to be parenthesized, since inputs
and outputs
may contain commas.
Also, AFAICT macros can't be variadic, so the kind(NAME) = ...
and kind(NAME) { ... }
forms need work. Possibly we just need to use different kind
values (i.e. macro names).
This has lingered long enough, time to merge. It's easy to iterate in this repo.
The next iteration should deal with this:
kind(NAME) = ...
and kind(NAME, stack_effect) { ... }
forms need work. Possibly we just need to use different kind values (i.e. macro names).
switch from
to
Also from
to
Change stream syntax from
to
Finally change
to