textiles-lab / knitout-backend-kniterate

MIT License
16 stars 3 forks source link

Instruction to split passes #6

Closed ixchow closed 3 years ago

ixchow commented 4 years ago

When, for example, experimenting with different xfer behaviors (#5), it might be handy to have an instruction -- perhaps x-end-pass -- that tells the backend that a new pass must be introduced here, regardless of whether the instruction stream requires it.

This might also have use outside of this particular backend.

ixchow commented 3 years ago

Added x-end-pass in a87179eec5ca4dc4d866ff17a985b78a84e0f2cd .

This extension instruction takes no arguments and ends the current pass (just as if an instruction incompatible with the current pass were used).