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/bootstrap-check.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/bootstrap-check.sh')
| -rwxr-xr-x | src/tools/bootstrap-check.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/bootstrap-check.sh b/src/tools/bootstrap-check.sh index 7acd74c..8d5c327 100755 --- a/src/tools/bootstrap-check.sh +++ b/src/tools/bootstrap-check.sh @@ -11,7 +11,7 @@ esac cd "$(dirname "$0")/../.." make -s build/bin/zc0 build/bin/mkgenome CC=${CC:-$(sh src/tools/findcc.sh)} -SRC="src/runtime/rt.zc src/core/core.zc src/compiler/compiler.zc" +SRC="src/runtime/rt.zc src/core/core.zc $(tr -d '\r' < src/compiler/parts | sed 's|^|src/compiler/|')" mkdir -p build/s0 build/s1 cat $SRC | build/bin/zc0 > build/s0/g0.bin build/bin/mkgenome < build/s0/g0.bin > build/s0/genome.bin |
