From 98f9e13829204d32c7dea8a58f8f11efc2a38550 Mon Sep 17 00:00:00 2001 From: zinc Date: Wed, 14 Oct 2026 09:48:11 +0000 Subject: zc0: byte string types, u/m/d as names, enhancements in asm bstr locals, globals, parameters and returns are byte strings for + , the comparisons, indexing, slicing, len and put_s; b"..." globals; embed inside a function. u, m and d are ordinary names: a recast is the letter with the star touching it (u*x), tags .u .m .d are accepted on types and bare. an enhancement named inside asm { } emits its opcode. zc0's image of the genome and language server sources is unchanged. --- tests/programs/bareio.zc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/programs/bareio.zc') diff --git a/tests/programs/bareio.zc b/tests/programs/bareio.zc index a06ef38..21d2b40 100644 --- a/tests/programs/bareio.zc +++ b/tests/programs/bareio.zc @@ -2,7 +2,7 @@ namespace; include rt; // bare-metal syscalls: clock, a RAM file, random, and the machine size. -// zc0 subset, so a run-only image can carry it. names stay off u/m/d. +// zc0 subset, so a run-only image can carry it. fn main() { let buf[16], n, t0, t1, i, fd, r, board[8]; t0 = rt.syscall(6, 0, 0, 0); -- cgit v1.2.3