raz / conform / run / mods

history · 15 commits · the directory

fa4b6510Luis <42945842+ldiaz94@users.noreply.github.com>conform: a program at each of section 10's least limits, compiled and run
264716cbLuis <42945842+ldiaz94@users.noreply.github.com>The tests, conform/, examples/ and the docs' examples held to report 2026-10.37 whole
b5e76eabLuis <42945842+ldiaz94@users.noreply.github.com>Report 2026-10.37: []const T, a slice whose elements can't be written through it
88e6b860Luis <42945842+ldiaz94@users.noreply.github.com>Inlining a procedure that only returns: a call of one whose body is return e, with no locals and a single value its result, is made in place (Parse.inlined): the arguments as for a call into temporaries, each once and in order, then e read again in its own module's scope with its checks; imported and generic procedures too, a recursion ending in a call; a failed check in e told at e's line in its file (Gen's check works out the place as it is made); KeptCheck and KeptNil call through a procedure value, the tutorial's Fail through a procedure with no result; word count 887 ms to 638, Grep 268 to 199, the compiler 3% fewer instructions; conform/run/Inline, test/run/InlineCheck
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
32b1a75bLuis <42945842+ldiaz94@users.noreply.github.com>OFFSET(T, f) and SIZE(T.f): a field's place and size, as report 2026-10.36 has them
ae6fc91dLuis <42945842+ldiaz94@users.noreply.github.com>Report 2026-10.32, the eighth thaw: the empty slice constant
3e1c4e5bLuis <42945842+ldiaz94@users.noreply.github.com>Enumerations' names with their types (report 2026-10.31)
182251daLuis <42945842+ldiaz94@users.noreply.github.com>An array constant typed []T takes its literal's length (report 2026-10.29)
f784f531Luis <42945842+ldiaz94@users.noreply.github.com>Views, v.(T): the bytes of a variable read and written as another type
b38de572Luis <42945842+ldiaz94@users.noreply.github.com>Conformance tests for the rules of the report that had none; F32 constants as the compiler reads them; the atExit hang noted
51c3b8b8Luis <42945842+ldiaz94@users.noreply.github.com>conform/ needs only the core: library tests go to test/run, generic tests use local modules
2411fde8Luis <42945842+ldiaz94@users.noreply.github.com>Step 5: the system integer
1d7484feLuis <42945842+ldiaz94@users.noreply.github.com>Step 4: the conformance suite, conform/, apart from this compiler's tests