aboutsummaryrefslogtreecommitdiff
path: root/src/compiler/builtins.zc
Commit message (Collapse)AuthorAgeFilesLines
* len: len on a char* is an error with typecheck off too (appendix b.2.14)Gravatar zinc 2026-10-141-1/+2
|
* enum: a member is defined as soon as it is declared, so later values can ↵Gravatar zinc 2026-10-141-2/+6
| | | | name it (appendix b.2.2)
* Merge branch 'main' into work/specGravatar zinc 2026-10-141-0/+1
|\
| * merge bounds checkingGravatar zinc 2026-10-141-0/+1
| |\
| | * bounds checking: port agent/bounds-checking onto main 0879d0a; unbounded ↵Gravatar zinc 2026-10-141-0/+1
| | | | | | | | | | | | main in o3call, o3 tests expect no check, boundsrules, bounds_fixed, bounds_heap and zc0unbounded tests
* | | include: written inside a function body is 'include is top level only' ↵Gravatar zinc 2026-10-141-0/+1
|/ / | | | | | | (appendix b.2.9)
* | merge: seven self-hosted compiler fixes from conformanceGravatar zinc 2026-10-141-1/+1
|\ \ | |/ |/|
| * memdebug: accept 'memdebug scrub;' (the check compared against rt.scrub); ↵Gravatar zinc 2026-10-141-1/+1
| | | | | | | | the scrub program reads the freed word through asm
* | line tables and backtraces: port agent/line-tables onto main, op 56 on the ↵Gravatar zinc 2026-10-141-1/+10
|/ | | | x86-64 jit, docs, measurements, tests; default genome reservation 0x68000
* split compiler.zc into files by phaseGravatar zinc 2026-10-141-0/+1423
src/compiler/compiler.zc is now twelve files under src/compiler/, listed in order in src/compiler/parts. cat of the parts in order is byte-identical to the old file, so every compiler and image except the language server's is unchanged. no function was edited. consumers read the list: the makefile, bootstrap-check, genmap (which still writes one compiler.zc into a generated map directory), tinyvm.bat, test.sh, test_win.ps1 and the lsp drivers. the language server embeds each part and serves them joined as the one document tinyvm:/compiler.zc.