BendtorchLoad.St.fin: def of bendtorch-load@1.3.0.0 Import: import bendtorch-load@1.3.0.0/main.bend as BendtorchLoad Lines 310-316 of bendtorch-load@1.3.0.0/main.bend: https://jend.leeeet.dev/read.txt?path=bendtorch-load@1.3.0.0/main.bend&start_line=310&end_line=316 import Base # the end of the header: a number ends there, an unfinished string is malformed def St.fin(st: Lex, out: List<&2, Tok>) -> List<&2, Tok>: match st: case LOut{}: out case LNum{v}: Con{TNum{v}, out} case LStr{acc}: Con{TBad{0}, out} case LEsc{acc}: Con{TBad{0}, out} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=bendtorch-load@1.3.0.0/main.bend&name=Lex https://jend.leeeet.dev/definition.txt?path=bendtorch-load@1.3.0.0/main.bend&name=Tok