3p Pyrope standard library (hardware + comptime)

Create a Pyrope standard library for common hardware building blocks, covering both pipelined and non-pipelined designs. The intended user-facing shape is a stable import namespace, for example const x = import("prplib.ware") followed by calls such as x.csa(...).

Also owns the software/comptime side (docs chapter 13): LNAST-op wrappers (plus, minus, …), tuple utilities (len, map, filter, reduce), strings, math, reached via const prp = import("prp"). No prp library exists in the repo today. Where the files live and how the import resolves is one decision shared by both halves (subtask A).

Failing example (comptime half)

const prp = import("prp")

cassert(prp.plus(1, 2, 3) == 6)
cassert(prp.len((1, 2, 23)) == 3)

comb inc(a) -> (r) { r = a + 1 }
cassert((1, 2, 3).map(inc) == (2, 3, 4))

Subtasks — pending

Subtasks — landed

None yet.