Repository navigation
Commit 73c6b40
committed
yeast: Define Swift rules using the
This gives us access to the input/output schemas during macro expansion,
which we'll need in order to know whether an output node is a leaf node
or not.
We could in principle get rid of all of the inner `rule!` applications
now and just inline them directly, but to prevent churn I have opted not
to do so at this time.rules! macro1 parent 18b48aa commit 73c6b40
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
147 | 150 | | |
148 | 151 | | |
149 | 152 | | |
| |||
1568 | 1571 | | |
1569 | 1572 | | |
1570 | 1573 | | |
1571 | | - | |
| 1574 | + | |
| 1575 | + | |
1572 | 1576 | | |
1573 | 1577 | | |
1574 | 1578 | | |
| |||
0 commit comments