First send text from snippet editor to ride
below, using the span of whichever subject
I've explicitly defined. How do I go about defining the subject which snippets are
run against? Call ride
, with span as *
, which will produce Nock. Then take the Nock
and run it with .*
.
++ ride :: end-to-end compiler
|= {typ/span txt/@}
^- (pair span nock)
(~(mint ut typ) %noun (ream txt))