interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / apps / interplane-forge / collab / co7md.om

40 lines · 1059 bytes Raw Blame History
1note collab/co7md.om (ForgePatches): patch and issue text is rendered as Markdown by ForgeBrowse's
2note renderer (browse/b_md.om brmd: every text byte escaped, raw HTML dropped, unsafe link schemes
3note refused; fixtures browse/tests/md). Relative links resolve against the repo root at gbref: a patch
4note page uses the shown revision's head commit, an issue page the default branch.
5text tcmd1 "<article class=\"md\">\n"
6text tcmd2 "</article>\n"
7note comd o n: render gcpool[o,o+n) (copied into fxo, which brmd reads) into fob
8fn comd o ulong n ulong to void
9if eq n 0
10ret
11end
12for k ulong n bound 4194304
13put fxo k get gcpool add o k
14end
15put gbmdl 0 0
16fput tcmd1
17brmd 0 n
18fput tcmd2
19end
20note codref r: gbref = head commit of revision r (the default branch when r is not a revision)
21fn codref r ulong to void
22if gt r 63
23codrefb
24ret
25end
26o = mul r 40
27for k ulong 40
28put gbref k get gcro add o k
29end
30put gbrefl 0 40
31end
32fn codrefb to void
33i = get fridx 0
34o = get fabo i
35n = get fabl i
36for k ulong n bound 64
37put gbref k get fabr add o k
38end
39put gbrefl 0 n
40end