tricu

An interpreted language for exploring Tree Calculus
Log | Files | Refs | README | LICENSE

makeWorker.scp (403B)


      1 !export makeWorker
      2 -- Build a descriptor from (initial state, compiled open entry). The caller
      3 -- must supply code from a checked build or explicit trusted import. This
      4 -- ordinary tree constructor neither compiles nor authenticates its input.
      5 -- State ignored. Keep the current ABI spelling here, not in each application.
      6 consumer makeWorker
      7   (initial, code) @ _ => ("scp-worker.v1", (initial, code))