refactor(stdlib): de-abbreviate namespaces (Mem/Sys/Net/Collide)
Expand the abbreviated public namespaces to full words, part of the language-wide de-abbreviation pass: Mem -> Memory, Sys -> System, Net -> Network, Collide -> Collision Math stays (universally accepted, like int/bool). Renames the dispatch strings, LSP signatures, docs (dirs, files, frontmatter), and the inventory manifest; behavior is byte-identical (the bare rt_ targets are unchanged). Reseeded; C-free bootstrap fixpoint holds; all suites green. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
6e6467b515
commit
2f19c8d8e2
50 changed files with 360 additions and 360 deletions
|
|
@ -1,19 +1,19 @@
|
|||
program T {
|
||||
entry {
|
||||
let b = Mem.bytes(8)
|
||||
Mem.poke(b, 0, 65)
|
||||
Mem.poke(b, 1, 66)
|
||||
print(Mem.peek(b, 0)) # 65
|
||||
print(Mem.peek(b, 1)) # 66
|
||||
Mem.fill(b, 0, 8)
|
||||
print(Mem.peek(b, 0)) # 0
|
||||
let c = Mem.bytes(8)
|
||||
Mem.poke(b, 3, 99)
|
||||
Mem.copy(c, b, 8)
|
||||
print(Mem.peek(c, 3)) # 99
|
||||
let w = Mem.words(4)
|
||||
let b = Memory.bytes(8)
|
||||
Memory.poke(b, 0, 65)
|
||||
Memory.poke(b, 1, 66)
|
||||
print(Memory.peek(b, 0)) # 65
|
||||
print(Memory.peek(b, 1)) # 66
|
||||
Memory.fill(b, 0, 8)
|
||||
print(Memory.peek(b, 0)) # 0
|
||||
let c = Memory.bytes(8)
|
||||
Memory.poke(b, 3, 99)
|
||||
Memory.copy(c, b, 8)
|
||||
print(Memory.peek(c, 3)) # 99
|
||||
let w = Memory.words(4)
|
||||
w[0] = 12345
|
||||
print(w[0]) # 12345
|
||||
print(Sys.arg_count()) # 1
|
||||
print(System.arg_count()) # 1
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue