raz / PLAN.md

history · 162 commits · the file

baf3942cLuis <42945842+ldiaz94@users.noreply.github.com>wip-darwin-step9 is pushed: RESUME-darwin.md and PLAN.md say so
4b57350fLuis <42945842+ldiaz94@users.noreply.github.com>PLAN.md 5: where the port stands, stopped after step 7
89524972Luis <42945842+ldiaz94@users.noreply.github.com>The library on the Mac: Rt, Thread, Sys over libSystem; Arith
b6a29ae3Luis <42945842+ldiaz94@users.noreply.github.com>Exe.darwin: line numbers for lldb, other C libraries; Host.darwin
e99cab9bLuis <42945842+ldiaz94@users.noreply.github.com>Gen.arm64: reals, FILL, bit counts and rotations; nothing left not yet
6d4487fbLuis <42945842+ldiaz94@users.noreply.github.com>Gen.arm64: division and the checks, calls in full, try and defer, atomics, COPY
2b92b442Luis <42945842+ldiaz94@users.noreply.github.com>The first programs for darwin-arm64, run on the Mac: Gen.arm64, Exe.darwin
489d8810Luis <42945842+ldiaz94@users.noreply.github.com>src/A64.raz: arm64's machine code, X64's twin; test/a64
6d1c7219Luis <42945842+ldiaz94@users.noreply.github.com>src: Gen.x86_64, Exe.linux and Host.linux, the target's units; src/cross.sh
84f97627Luis <42945842+ldiaz94@users.noreply.github.com>make docker-check, the scripts on BSD's tools, the budget at 18,000
3829cbb0Luis <42945842+ldiaz94@users.noreply.github.com>Report 2026-11.0: darwin-arm64, a second target; PLAN.md 5, the port
12bc8accLuis <42945842+ldiaz94@users.noreply.github.com>v0.25.3: raz -q def on modules, the report unchanged v0.25.3
be0f2883Luis <42945842+ldiaz94@users.noreply.github.com>v0.25.2: raz -q def, the report unchanged v0.25.2
20fd798dLuis <42945842+ldiaz94@users.noreply.github.com>v0.25.1: raz -q and Sys.errReadOnly, the report unchanged v0.25.1
553f16e8Luis <42945842+ldiaz94@users.noreply.github.com>PLAN.md: queue Sys.errReadOnly for v0.25.1
ad336b92Luis <42945842+ldiaz94@users.noreply.github.com>Docs for v0.25.0: README's versions, CLAUDE.md, PLAN.md v0.25.0
f9e263c5Luis <42945842+ldiaz94@users.noreply.github.com>PLAN.md: the Moss work's scope: Host in, -moss and the small-stack refactors out
ab6cd0acLuis <42945842+ldiaz94@users.noreply.github.com>PLAN.md, CLAUDE.md: two paragraphs wrapped
3282a9a1Luis <42945842+ldiaz94@users.noreply.github.com>PROPOSALS.md and MEM_PROPOSAL.md gone: the Moss work's four proposals kept in PLAN.md's appendix
8d233dfbLuis <42945842+ldiaz94@users.noreply.github.com>Docs for v0.24.0: README's versions, CLAUDE.md, PLAN.md v0.24.0
4402a682Luis <42945842+ldiaz94@users.noreply.github.com>Report 2026-10.37 is the rule: the old forms are errors, -strict and RAZ_STRICT gone
dcb19a97Luis <42945842+ldiaz94@users.noreply.github.com>BOOT names v0.23.0, its tarball made by make dist, 103eb421...; src/ and the library it imports may use report 2026-10.37
928d7e17Luis <42945842+ldiaz94@users.noreply.github.com>PLAN.md: v0.23.0 released
c704ee52Luis <42945842+ldiaz94@users.noreply.github.com>PLAN.md: v0.23.0's pieces done but the release; no rewriting tool, v0.24.0's errors show what to mend
14276032Luis <42945842+ldiaz94@users.noreply.github.com>PLAN.md: the safety thaw in two releases, v0.23.0 breaking nothing, v0.24.0 enforcing it
a861809dLuis <42945842+ldiaz94@users.noreply.github.com>PLAN.md: the safety thaw's scope, by the owner's word
cab88c8dLuis <42945842+ldiaz94@users.noreply.github.com>BOOT names v0.22.0, its tarball made by make dist, 451bca75...; src/ and the library it imports may use report 2026-10.36
332fb785Luis <42945842+ldiaz94@users.noreply.github.com>PLAN.md: the order to 1.0, release 10.36, the safety thaw, the Moss work, the hard freeze, a clean-up
55daceacLuis <42945842+ldiaz94@users.noreply.github.com>PROPOSALS.md in place of PLAN.md; the book dropped for now
4efc5101Luis <42945842+ldiaz94@users.noreply.github.com>Docs: tidy CLAUDE.md, PLAN.md and README
52169ca3Luis <42945842+ldiaz94@users.noreply.github.com>Docs for v0.11.1: report 2026-10.23, Math's bits, fromBits and mul v0.11.1
6d5471f9Luis <42945842+ldiaz94@users.noreply.github.com>Docs for v0.11.0: report 2026-10.22, the two volumes, status 2 for stops v0.11.0
54a45fc7Luis <42945842+ldiaz94@users.noreply.github.com>Report 10.22.6: two volumes, the language (doc/raz.md) and the library (doc/raz-lib.md)
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/
042ee2e2Luis <42945842+ldiaz94@users.noreply.github.com>Self step 5: the fixpoint
7797fa8aLuis <42945842+ldiaz94@users.noreply.github.com>Self step 4: Parse and Raz in raz, the first compiler that builds
80d65028Luis <42945842+ldiaz94@users.noreply.github.com>Self step 3b: Item in raz, tested against the seed's
d16c846aLuis <42945842+ldiaz94@users.noreply.github.com>Self step 3a: README and PLAN
76a2b1b6Luis <42945842+ldiaz94@users.noreply.github.com>Self step 2b: Link, Elf and X64 in raz, tested against the seed's
4b0b6390Luis <42945842+ldiaz94@users.noreply.github.com>Self step 2a: Chunk and Sym in raz, tested against the seeds
e24e7c75Luis <42945842+ldiaz94@users.noreply.github.com>Self: Scan reports an error and returns Failed; Jump goes v0.10.0
7916b9fdLuis <42945842+ldiaz94@users.noreply.github.com>try: return an error that is not nil from the procedure it stands in
c5489654Luis <42945842+ldiaz94@users.noreply.github.com>Self step 1: Diag and Scan in raz, tested against the seed
ac309c8cLuis <42945842+ldiaz94@users.noreply.github.com>PLAN: Self, the compiler in raz; self/ apart from the seed
54ea3716Luis <42945842+ldiaz94@users.noreply.github.com>PLAN: cut the finished reals milestone
fa7efe10Luis <42945842+ldiaz94@users.noreply.github.com>The tarball and make install carry tools/: Pretty, Doc, Scan v0.9.1
3623192cLuis <42945842+ldiaz94@users.noreply.github.com>PLAN: inline, measured on rat; the hint dropped
9ee13778Luis <42945842+ldiaz94@users.noreply.github.com>v0.9.0: better code for reals, Bytes, slices in code procedures v0.9.0
01dfbf63Luis <42945842+ldiaz94@users.noreply.github.com>PLAN: better code for reals, done
36e782dfLuis <42945842+ldiaz94@users.noreply.github.com>Real variables in xmm registers
84cb543cLuis <42945842+ldiaz94@users.noreply.github.com>An offset as the machine has it
d0aa106bLuis <42945842+ldiaz94@users.noreply.github.com>An element of an array as the machine has it
090fc959Luis <42945842+ldiaz94@users.noreply.github.com>Reals on the stack in xmm registers
ed7c3fe4Luis <42945842+ldiaz94@users.noreply.github.com>Two kernels of reals: Jacobi and NBody
6ca487e7Luis <42945842+ldiaz94@users.noreply.github.com>PLAN: inline, a hint, shelved for a later thaw, with its measures
0e9ae63dLuis <42945842+ldiaz94@users.noreply.github.com>PLAN: v0.8.0, better code again, released v0.8.0
5dadea44Luis <42945842+ldiaz94@users.noreply.github.com>One table of lines, not two
cee2693cLuis <42945842+ldiaz94@users.noreply.github.com>while tested at the bottom
4acc715aLuis <42945842+ldiaz94@users.noreply.github.com>Changed in place; a for loop's top aligned
b8a03842Luis <42945842+ldiaz94@users.noreply.github.com>Addresses and operands as the machine has them
654579f9Luis <42945842+ldiaz94@users.noreply.github.com>Parameters left where they arrive
e224225dLuis <42945842+ldiaz94@users.noreply.github.com>Slices in registers
62a9b275Luis <42945842+ldiaz94@users.noreply.github.com>The kernels, with their Pascal twins
efe5d6f0Luis <42945842+ldiaz94@users.noreply.github.com>PLAN: v0.7.1, the manual, released; v0.8.0 under way v0.7.1
ebfe9e19Luis <42945842+ldiaz94@users.noreply.github.com>The manual pages together
fbf1697eLuis <42945842+ldiaz94@users.noreply.github.com>raz(7), the language at a glance
f8fb7674Luis <42945842+ldiaz94@users.noreply.github.com>raz-lib(3), the library, made from its sources
e38e5c53Luis <42945842+ldiaz94@users.noreply.github.com>raz-tutorial(7), a tour of the language
859c14f2Luis <42945842+ldiaz94@users.noreply.github.com>PLAN: v0.7.0 released; the manual (v0.7.1), then v0.8.0 v0.7.0
9907e9ecLuis <42945842+ldiaz94@users.noreply.github.com>PLAN: proposed, the manual
4fb63340Luis <42945842+ldiaz94@users.noreply.github.com>PLAN: v0.7.0 done, for review
969b2572Luis <42945842+ldiaz94@users.noreply.github.com>A blank among results from memory; plainer code where review asked
95b6de34Luis <42945842+ldiaz94@users.noreply.github.com>PLAN: v0.7.0, better code; the budget to 10,000 lines
9ca6cfc3Luis <42945842+ldiaz94@users.noreply.github.com>The blank, and a warning for a dropped result
aeb43a7cLuis <42945842+ldiaz94@users.noreply.github.com>A warning for a procedure that may reach its end
4c342317Luis <42945842+ldiaz94@users.noreply.github.com>Plan: cut the finished milestones
bbb1bf35Luis <42945842+ldiaz94@users.noreply.github.com>Step 10: v0.6.0 v0.6.0
28e62ecdLuis <42945842+ldiaz94@users.noreply.github.com>Step 9e: a profiler in Rt
a5915c27Luis <42945842+ldiaz94@users.noreply.github.com>Step 9d: the trap report
1d90e30fLuis <42945842+ldiaz94@users.noreply.github.com>Step 9c: raz -S
e514b239Luis <42945842+ldiaz94@users.noreply.github.com>Step 9b: assembly procedures in place of byte procedures
3a4fb62bLuis <42945842+ldiaz94@users.noreply.github.com>Step 9a: failures the code tests for where the machine can't
36efcd0fLuis <42945842+ldiaz94@users.noreply.github.com>Step 8: Wirth's register stack in gen
848f0c57Luis <42945842+ldiaz94@users.noreply.github.com>Step 7: the parser reaches the machine only through gen
2a226448Luis <42945842+ldiaz94@users.noreply.github.com>Step 6c: match on integers
8465197cLuis <42945842+ldiaz94@users.noreply.github.com>Step 6b: array constants
c6f0123eLuis <42945842+ldiaz94@users.noreply.github.com>Step 6a: + joins string constants
74792a82Luis <42945842+ldiaz94@users.noreply.github.com>Step 6: optional reals
2411fde8Luis <42945842+ldiaz94@users.noreply.github.com>Step 5: the system integer
69532854Luis <42945842+ldiaz94@users.noreply.github.com>Report 2026-10.11: array constants, joined strings, match on integers
088a65e9Luis <42945842+ldiaz94@users.noreply.github.com>Plan: no IR or object files; the parser reaches the machine through gen
1d7484feLuis <42945842+ldiaz94@users.noreply.github.com>Step 4: the conformance suite, conform/, apart from this compiler's tests
1d0597c6Luis <42945842+ldiaz94@users.noreply.github.com>Report 2026-10.11: separate compilation is the implementation's
76a05a0cLuis <42945842+ldiaz94@users.noreply.github.com>doc/ir.md settled; tools/Obj.raz shows an object file
6b556e95Luis <42945842+ldiaz94@users.noreply.github.com>doc/ir.md: the intermediate form, a draft for review
1e0e24afLuis <42945842+ldiaz94@users.noreply.github.com>Report 2026-10.11, a draft: INT, optional reals, read-only exports, object files
fab3f109Luis <42945842+ldiaz94@users.noreply.github.com>Report 2026-10.10: records are their own types; failures stop everywhere
1cef5331Luis <42945842+ldiaz94@users.noreply.github.com>Report 2026-10.10: constants don't overflow, pointer slices don't run backwards
f9c2a04bLuis <42945842+ldiaz94@users.noreply.github.com>The report made complete, the mechanical part
825d0cb6Luis <42945842+ldiaz94@users.noreply.github.com>PLAN.md: proposed v0.6.0, raz to be rebuilt by anyone
1c2dc5cdLuis <42945842+ldiaz94@users.noreply.github.com>The freeze: report 2026-10.9, and the language frozen v0.5.0
4319e17fLuis <42945842+ldiaz94@users.noreply.github.com>examples/Sh.raz: a small shell
f9b557c0Luis <42945842+ldiaz94@users.noreply.github.com>Opt, a command line through one table; Files to the library
f28bc869Luis <42945842+ldiaz94@users.noreply.github.com>Str's UTF-8 and toInt, Map's remove and next, Sort, Math, Fmt.real
b9fcf3c2Luis <42945842+ldiaz94@users.noreply.github.com>PLAN: Opt, asked for rloc; Files to the library
aa182c9aLuis <42945842+ldiaz94@users.noreply.github.com>Sys: clock, now, sleep, random; TCP, UDP and listening sockets
693bcbb7Luis <42945842+ldiaz94@users.noreply.github.com>Sys: pipes, programs by Program, wait's Status, groups and signals
19f3570aLuis <42945842+ldiaz94@users.noreply.github.com>Sys: files opened as asked, seek, links, permissions and times
4dd2bf69Luis <42945842+ldiaz94@users.noreply.github.com>PLAN.md again, by milestones: v0.5.0, the library and the freeze
4c0f8e56Luis <42945842+ldiaz94@users.noreply.github.com>Drop PLAN.md: its steps are done and its rules live elsewhere
138ba061Luis <42945842+ldiaz94@users.noreply.github.com>Several results in place of var parameters
46ec3b9fLuis <42945842+ldiaz94@users.noreply.github.com>Sys: pseudo-terminals and programs; Info tells a file and a link
043eac0aLuis <42945842+ldiaz94@users.noreply.github.com>Generic instances made where first used
bc22ce64Luis <42945842+ldiaz94@users.noreply.github.com>Operators: and, or, not for BOOLs below the relations; &, |, ~ for bits
95cc648aLuis <42945842+ldiaz94@users.noreply.github.com>= and # on arrays inline, with repe cmpsb; Rt.eq goes
71fdfd58Luis <42945842+ldiaz94@users.noreply.github.com>return f(x) passes on f's several results
cc7c4ad5Luis <42945842+ldiaz94@users.noreply.github.com>One module to a name: a module in two directories is an error
fdcb312cLuis <42945842+ldiaz94@users.noreply.github.com>Sys.send: writing to a socket without SIGPIPE
e4373052Luis <42945842+ldiaz94@users.noreply.github.com>Sys: connect and readyOf, a Unix socket and waiting on several files
14be7cfbLuis <42945842+ldiaz94@users.noreply.github.com>The report, for review: one module to a name (2026-10.5)
6e38bc77Luis <42945842+ldiaz94@users.noreply.github.com>Stage 4 done: README, CLAUDE.md and the plan brought up to date
389c4f3aLuis <42945842+ldiaz94@users.noreply.github.com>Run-time messages: failed checks say what and with what values, signals say where and why
5a422e6eLuis <42945842+ldiaz94@users.noreply.github.com>Warnings: what is never used, or only assigned; make check builds with -Werror
3a74493eLuis <42945842+ldiaz94@users.noreply.github.com>The report, for review: Sys for rlX11 and rat (2026-10.4)
b1f5815fLuis <42945842+ldiaz94@users.noreply.github.com>Notes and help: declared here, did you mean, slips from other languages
caca71d3Luis <42945842+ldiaz94@users.noreply.github.com>The report, 2026-10.3: operators, inline =, generics on first use
2e82d3d7Luis <42945842+ldiaz94@users.noreply.github.com>Merge editor-plan: Sys gains files, directories, the terminal and the environment
339451e9Luis <42945842+ldiaz94@users.noreply.github.com>Every message reworded, each with a test
0d7e2bdbLuis <42945842+ldiaz94@users.noreply.github.com>Go on after an error: every error in a run, none twice
22cd3a48Luis <42945842+ldiaz94@users.noreply.github.com>Errors point at the offending construct
cb2bb189Luis <42945842+ldiaz94@users.noreply.github.com>diag.pas: one place for messages, with the source underlined
c027dc28Luis <42945842+ldiaz94@users.noreply.github.com>Plan stage 4, diagnostics; the report says how messages look
ba7f6657Luis <42945842+ldiaz94@users.noreply.github.com>Rename jed to raz; add an ISC license
c256837cLuis <42945842+ldiaz94@users.noreply.github.com>Step 18: tools/Pretty.jed, the formatter, over tools/Scan.jed, shared with Doc
39edff85Luis <42945842+ldiaz94@users.noreply.github.com>Step 17: README.md and doc/compiler.md
30b3c516Luis <42945842+ldiaz94@users.noreply.github.com>Step 16: editor support, and a stress test of native threads
21350d28Luis <42945842+ldiaz94@users.noreply.github.com>Step 15: versions, tools/Doc.jed, checked examples, library tests
e6d05672Luis <42945842+ldiaz94@users.noreply.github.com>Plan: versions by date and tags, a formatter later
0645628bLuis <42945842+ldiaz94@users.noreply.github.com>Plan: editor support and a thread stress test, step 16
88b789e5Luis <42945842+ldiaz94@users.noreply.github.com>Step 14: line numbers for gdb
115239adLuis <42945842+ldiaz94@users.noreply.github.com>Step 13: a thread-safe heap with block markers, native threads
37e1ec36Luis <42945842+ldiaz94@users.noreply.github.com>Step 12: F32, and real constants that take F32 or F64
1e15c9a2Luis <42945842+ldiaz94@users.noreply.github.com>Step 11: extern proc and var, link, dynamic ELF; Rt.exit, Rt.atExit, buffered Out
dfc1eb72Luis <42945842+ldiaz94@users.noreply.github.com>Plan and report: the module's own doc comment
ca9f1df1Luis <42945842+ldiaz94@users.noreply.github.com>Report: no F32 to ..., doc comments; plan: a doc tool and checked examples
e45675ffLuis <42945842+ldiaz94@users.noreply.github.com>Plan: buffered Out with an exit hook, native threads, link static
a5ac0162Luis <42945842+ldiaz94@users.noreply.github.com>Plan: a marker in each heap block's header
a90b6049Luis <42945842+ldiaz94@users.noreply.github.com>Plan stage 3: F32, extern var, a thread-safe heap, line numbers
0d6f0f1fLuis <42945842+ldiaz94@users.noreply.github.com>Stage 2 done: record the lines
82a614f3Luis <42945842+ldiaz94@users.noreply.github.com>Step 10: generic modules; Str, Buf, Fmt, List, Map
8c6df0eeLuis <42945842+ldiaz94@users.noreply.github.com>Step 9: NEW, and the allocators
03224cabLuis <42945842+ldiaz94@users.noreply.github.com>Step 8: enumerations and sets, record literals, defer
39a17b57Luis <42945842+ldiaz94@users.noreply.github.com>Step 7: multiple results, errors, INC and DEC
53eb79f6Luis <42945842+ldiaz94@users.noreply.github.com>Correct the plan's line counts
44405d9aLuis <42945842+ldiaz94@users.noreply.github.com>Stage 1 done: tick the plan, record the lines
65f71297Luis <42945842+ldiaz94@users.noreply.github.com>Go ahead by stage, not by step
84d5b6e8Luis <42945842+ldiaz94@users.noreply.github.com>Bring the plan in line with the approved report
abf74c58Luis <42945842+ldiaz94@users.noreply.github.com>Approve the report
8310908eLuis <42945842+ldiaz94@users.noreply.github.com>Revise the report after the second review
ab022b0bLuis <42945842+ldiaz94@users.noreply.github.com>Revise the report after the first review
6fafd396Luis <42945842+ldiaz94@users.noreply.github.com>Add the language report and the plan