raz / src / Item.raz

history · 31 commits · the file

4402a682Luis <42945842+ldiaz94@users.noreply.github.com>Report 2026-10.37 is the rule: the old forms are errors, -strict and RAZ_STRICT gone
ddf0eb5fLuis <42945842+ldiaz94@users.noreply.github.com>A var parameter given SYSTEM.ADR(b): help says write b, as for ADR(b)
04d8e1a9Luis <42945842+ldiaz94@users.noreply.github.com>src/ held to report 2026-10.37 whole: import SYSTEM where it reaches memory so
e0d008cdLuis <42945842+ldiaz94@users.noreply.github.com>lib/ held to report 2026-10.37 whole: import SYSTEM, []const, atomics on a variable
81cb2aeeLuis <42945842+ldiaz94@users.noreply.github.com>raz -strict: report 2026-10.37 held whole, until v0.24.0 makes it the rule
b5e76eabLuis <42945842+ldiaz94@users.noreply.github.com>Report 2026-10.37: []const T, a slice whose elements can't be written through it
b7667d81Luis <42945842+ldiaz94@users.noreply.github.com>Report 2026-10.37: an array a call returns lives to the end of its procedure
201d9da2Luis <42945842+ldiaz94@users.noreply.github.com>and and or skip their right side after a constant that decides them
1a0e8ddeLuis <42945842+ldiaz94@users.noreply.github.com>ABS: a number without its sign, as report 2026-10.36 has it
e19ed1d8Luis <42945842+ldiaz94@users.noreply.github.com>FILL(d, x): every element of an array or slice set to x, as report 2026-10.36 has it: rep stos of the element's width, a loop of stores for a short slice, a store each for a short array, and a record copied forward by rep movsb (10M fills of 10 U32s 52 ms to 37 against the loop, of 1,000 2,500 to 490)
73c1f3acLuis <42945842+ldiaz94@users.noreply.github.com>An ERROR constant given another is that same error, its chunk, so const Short*: ERROR = PictBase.Short; makes Short = PictBase.Short hold, as report 2026-10.36 has it
8e0ec9ceLuis <42945842+ldiaz94@users.noreply.github.com>BYTES(x): a variable's bytes as a []U8, as report 2026-10.36 has them
eaa6cf3cLuis <42945842+ldiaz94@users.noreply.github.com>INT(b): a BOOL as an integer, as report 2026-10.36 has it
597cec35Luis <42945842+ldiaz94@users.noreply.github.com>CLZ, CTZ and POPCOUNT: counts of bits, as report 2026-10.36 has them
f1ef1ab0Luis <42945842+ldiaz94@users.noreply.github.com>MIN and MAX: the limits of an integer type, as report 2026-10.36 has them
61fa4786Luis <42945842+ldiaz94@users.noreply.github.com>ROL and ROR: rotations, as report 2026-10.35 has them
0d0c6bb1Luis <42945842+ldiaz94@users.noreply.github.com>The compiler: PTR(s) (report 2026-10.34, section 6.8)
500f3369Luis <42945842+ldiaz94@users.noreply.github.com>src/'s Items only read on every program's paths are const
9a94d612Luis <42945842+ldiaz94@users.noreply.github.com>The compiler: an address given for a var or const parameter says what to write
71a95b30Luis <42945842+ldiaz94@users.noreply.github.com>The compiler: a variant in a constant (report 2026-10.33, section 4)
b13f87f8Luis <42945842+ldiaz94@users.noreply.github.com>The compiler: const parameters (report 2026-10.33, section 8)
ae6fc91dLuis <42945842+ldiaz94@users.noreply.github.com>Report 2026-10.32, the eighth thaw: the empty slice constant
b5aa492dLuis <42945842+ldiaz94@users.noreply.github.com>U8, I8 and I16 widen to INT, U8 and U16 to UINT (report 2026-10.31)
8aae98b9Luis <42945842+ldiaz94@users.noreply.github.com>A slice of the frame returned is an error (report 2026-10.27)
999ed6abLuis <42945842+ldiaz94@users.noreply.github.com>Docs for views and the INT rule: tutorial, raz(7), tour, an example; Math by views
f784f531Luis <42945842+ldiaz94@users.noreply.github.com>Views, v.(T): the bytes of a variable read and written as another type
f4ad1385Luis <42945842+ldiaz94@users.noreply.github.com>An INT widens to an I64 wherever it goes to one, in an expression too
768afb54Luis <42945842+ldiaz94@users.noreply.github.com>match on a string
787085c3Luis <42945842+ldiaz94@users.noreply.github.com>A square root in place of a call
a4f60016Luis <42945842+ldiaz94@users.noreply.github.com>The compiler's code, faster: 1.8 times the seed's time to 1.4
596c810aLuis <42945842+ldiaz94@users.noreply.github.com>src/ is the compiler in raz; the Pascal seed moves to seed/