diff options
| author | 2026-10-14 10:05:40 +0000 | |
|---|---|---|
| committer | 2026-10-14 10:05:40 +0000 | |
| commit | ce920b6ff47f32bc06dd27124e1b882f82f3d6ae (patch) | |
| tree | 89f3dac0aa670294053320599a742d670c0ec5a4 /src/tools/mklsp.sh | |
| parent | todo: tick the parity runner; zc0 follow-ups it found (diff) | |
split compiler.zc into files by phase
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.
Diffstat (limited to 'src/tools/mklsp.sh')
| -rwxr-xr-x | src/tools/mklsp.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/mklsp.sh b/src/tools/mklsp.sh index 1c44998..81cabcc 100755 --- a/src/tools/mklsp.sh +++ b/src/tools/mklsp.sh @@ -1,6 +1,6 @@ #!/bin/bash # builds the language server: src/tools/mklsp.sh [outdir] leaves outdir/zclsp. -# the server is the real compiler (src/compiler/compiler.zc) in check mode plus +# the server is the real compiler (src/compiler/, listed in parts) in check mode plus # src/lsp/server.zc. its memory map is sized to that program by src/tools/automap.sh, # so the genome slot is as big as it needs to be and no bigger. the image carries # the doc comments (DOCS=1) and, through embed declarations in server.zc, its own |
