refactor(lang): rename the ptr/ptrs types to pointer/pointers
Expand the abbreviated pointer types to full words on the language surface: ptr -> pointer (a raw address / FFI handle) ptrs -> pointers (a buffer of pointers) The Ludic type name is distinct from LLVM's own `ptr` spelling: llty() maps `pointer`/`pointers` to LLVM `ptr`, and the emitted IR keeps `ptr`, so only the Ludic-level surface changes. Rewrites type annotations across all sources, the 8 hardcoded pointer type-tags, the `pointers`-buffer indexing in emit_addr, the grammars/LSP/JetBrains tokens, and the docs (type-ptr -> type-pointer, type-ptrs -> type-pointers). int/bool keep their conventional short spelling (like Math). Reseeded; C-free fixpoint holds; all suites green (45/24/29); site + check.py OK. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
b7745a4600
commit
effb3f637f
76 changed files with 516 additions and 516 deletions
|
|
@ -438,7 +438,7 @@ declare void @win_close()
|
|||
@.str337 = private unnamed_addr constant [3 x i8] c"i8\00"
|
||||
@.str338 = private unnamed_addr constant [6 x i8] c"words\00"
|
||||
@.str339 = private unnamed_addr constant [7 x i8] c"fixeds\00"
|
||||
@.str340 = private unnamed_addr constant [5 x i8] c"ptrs\00"
|
||||
@.str340 = private unnamed_addr constant [9 x i8] c"pointers\00"
|
||||
@.str341 = private unnamed_addr constant [4 x i8] c"ptr\00"
|
||||
@.str342 = private unnamed_addr constant [5 x i8] c"void\00"
|
||||
@.str343 = private unnamed_addr constant [5 x i8] c"void\00"
|
||||
|
|
@ -611,7 +611,7 @@ declare void @win_close()
|
|||
@.str510 = private unnamed_addr constant [33 x i8] c"getelementptr inbounds i32, ptr \00"
|
||||
@.str511 = private unnamed_addr constant [7 x i8] c", i32 \00"
|
||||
@.str512 = private unnamed_addr constant [6 x i8] c"fixed\00"
|
||||
@.str513 = private unnamed_addr constant [5 x i8] c"ptrs\00"
|
||||
@.str513 = private unnamed_addr constant [9 x i8] c"pointers\00"
|
||||
@.str514 = private unnamed_addr constant [33 x i8] c"getelementptr inbounds ptr, ptr \00"
|
||||
@.str515 = private unnamed_addr constant [7 x i8] c", i32 \00"
|
||||
@.str516 = private unnamed_addr constant [4 x i8] c"ptr\00"
|
||||
|
|
@ -652,12 +652,12 @@ declare void @win_close()
|
|||
@.str551 = private unnamed_addr constant [23 x i8] c"call ptr @realloc(ptr \00"
|
||||
@.str552 = private unnamed_addr constant [7 x i8] c", i64 \00"
|
||||
@.str553 = private unnamed_addr constant [2 x i8] c")\00"
|
||||
@.str554 = private unnamed_addr constant [4 x i8] c"ptr\00"
|
||||
@.str554 = private unnamed_addr constant [8 x i8] c"pointer\00"
|
||||
@.str555 = private unnamed_addr constant [10 x i8] c"file_open\00"
|
||||
@.str556 = private unnamed_addr constant [21 x i8] c"call ptr @fopen(ptr \00"
|
||||
@.str557 = private unnamed_addr constant [7 x i8] c", ptr \00"
|
||||
@.str558 = private unnamed_addr constant [2 x i8] c")\00"
|
||||
@.str559 = private unnamed_addr constant [4 x i8] c"ptr\00"
|
||||
@.str559 = private unnamed_addr constant [8 x i8] c"pointer\00"
|
||||
@.str560 = private unnamed_addr constant [10 x i8] c"file_read\00"
|
||||
@.str561 = private unnamed_addr constant [11 x i8] c"file_write\00"
|
||||
@.str562 = private unnamed_addr constant [10 x i8] c"zext i32 \00"
|
||||
|
|
@ -709,10 +709,10 @@ declare void @win_close()
|
|||
@.str608 = private unnamed_addr constant [5 x i8] c"void\00"
|
||||
@.str609 = private unnamed_addr constant [12 x i8] c"file_stderr\00"
|
||||
@.str610 = private unnamed_addr constant [25 x i8] c"load ptr, ptr @__stderrp\00"
|
||||
@.str611 = private unnamed_addr constant [4 x i8] c"ptr\00"
|
||||
@.str611 = private unnamed_addr constant [8 x i8] c"pointer\00"
|
||||
@.str612 = private unnamed_addr constant [12 x i8] c"file_stdout\00"
|
||||
@.str613 = private unnamed_addr constant [25 x i8] c"load ptr, ptr @__stdoutp\00"
|
||||
@.str614 = private unnamed_addr constant [4 x i8] c"ptr\00"
|
||||
@.str614 = private unnamed_addr constant [8 x i8] c"pointer\00"
|
||||
@.str615 = private unnamed_addr constant [4 x i8] c"run\00"
|
||||
@.str616 = private unnamed_addr constant [22 x i8] c"call i32 @system(ptr \00"
|
||||
@.str617 = private unnamed_addr constant [2 x i8] c")\00"
|
||||
|
|
@ -755,7 +755,7 @@ declare void @win_close()
|
|||
@.str654 = private unnamed_addr constant [35 x i8] c" = getelementptr inbounds i8, ptr \00"
|
||||
@.str655 = private unnamed_addr constant [7 x i8] c", i32 \00"
|
||||
@.str656 = private unnamed_addr constant [2 x i8] c"\0A\00"
|
||||
@.str657 = private unnamed_addr constant [4 x i8] c"ptr\00"
|
||||
@.str657 = private unnamed_addr constant [8 x i8] c"pointer\00"
|
||||
@.str658 = private unnamed_addr constant [10 x i8] c"read_char\00"
|
||||
@.str659 = private unnamed_addr constant [20 x i8] c"call i32 @getchar()\00"
|
||||
@.str660 = private unnamed_addr constant [4 x i8] c"int\00"
|
||||
|
|
@ -2585,7 +2585,7 @@ declare void @win_close()
|
|||
@.str2484 = private unnamed_addr constant [8 x i8] c" to i64\00"
|
||||
@.str2485 = private unnamed_addr constant [22 x i8] c"call ptr @malloc(i64 \00"
|
||||
@.str2486 = private unnamed_addr constant [2 x i8] c")\00"
|
||||
@.str2487 = private unnamed_addr constant [4 x i8] c"ptr\00"
|
||||
@.str2487 = private unnamed_addr constant [8 x i8] c"pointer\00"
|
||||
@.str2488 = private unnamed_addr constant [6 x i8] c"words\00"
|
||||
@.str2489 = private unnamed_addr constant [9 x i8] c"mul i32 \00"
|
||||
@.str2490 = private unnamed_addr constant [4 x i8] c", 4\00"
|
||||
|
|
@ -3593,7 +3593,7 @@ declare void @win_close()
|
|||
@.str3492 = private unnamed_addr constant [8 x i8] c" to i64\00"
|
||||
@.str3493 = private unnamed_addr constant [22 x i8] c"call ptr @malloc(i64 \00"
|
||||
@.str3494 = private unnamed_addr constant [2 x i8] c")\00"
|
||||
@.str3495 = private unnamed_addr constant [4 x i8] c"ptr\00"
|
||||
@.str3495 = private unnamed_addr constant [8 x i8] c"pointer\00"
|
||||
@.str3496 = private unnamed_addr constant [6 x i8] c"words\00"
|
||||
@.str3497 = private unnamed_addr constant [9 x i8] c"mul i32 \00"
|
||||
@.str3498 = private unnamed_addr constant [4 x i8] c", 4\00"
|
||||
|
|
@ -3707,7 +3707,7 @@ declare void @win_close()
|
|||
@.str3606 = private unnamed_addr constant [6 x i8] c"fixed\00"
|
||||
@.str3607 = private unnamed_addr constant [5 x i8] c"bool\00"
|
||||
@.str3608 = private unnamed_addr constant [5 x i8] c"null\00"
|
||||
@.str3609 = private unnamed_addr constant [4 x i8] c"ptr\00"
|
||||
@.str3609 = private unnamed_addr constant [8 x i8] c"pointer\00"
|
||||
@.str3610 = private unnamed_addr constant [28 x i8] c"call ptr @fn_str_slice(ptr \00"
|
||||
@.str3611 = private unnamed_addr constant [7 x i8] c", i32 \00"
|
||||
@.str3612 = private unnamed_addr constant [7 x i8] c", i32 \00"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue