Ports ref/hare/regex/regex.ha:227-263 literal arms: leading unanchored inst_skip, inst_lit / inst_any, epilogue inst_match(false). Every deferred metacharacter arm returns a loud not-yet-ported error (the fold boundary); state serving only deferred arms drops with them. Hare free()/defer-if cleanup omitted (no-free runtime, #27); bare append per #36. 4 new @test rows pin the emitted programs incl. the empty-input and loud-boundary cases; compile()'s >24B tagged return doubles as a #38 sret consumer. Rides #34/#38/#44/#45/#48 — all five fold-2a blockers now closed on master.
8.4 KiB
8.4 KiB