Explorer

core.compile-string-table

description
The string table [{value, address}]: address is the global index of the string (from address, one by one)
type
Fn(strings: List<String>, index: Number, address: Number) -> List<Record{value: String, address: Number}>
expression
fn(strings$0, index$1, address$2) =>
  match @core.list-get(list: $0, index: $1) {
    #none(_) =>
      [],
    #some(item$1004) =>
      let value$3 = $1004;
      @core.list-concat(
        left: [{value: $3, address: $2}],
        right: @core.compile-string-table(strings: $0, index: @core.plus(left: $1, right: 1), address: @core.plus(left: $2, right: 1))
      )
  }
visibility
public
core.compile-string-table (project definy, branch main, snapshot CfIAXM725tR74SWd4aoTUz4-JJQfqnllblZbQ2Sv204)
id: _XtmchfZUuMG41gwZtAHX8K1HjP8q39ry4BaXVSs9dc
content hash: zrzsVEq1UJc1NCiF8pMvHlkI71lJSaF5BgfMfOrzzWc