aboutsummaryrefslogtreecommitdiff
path: root/src/compiler/parts
diff options
context:
space:
mode:
authorGravatar zinc <zinc@downsta.ir> 2026-10-14 10:05:40 +0000
committerGravatar zinc <zinc@downsta.ir> 2026-10-14 10:05:40 +0000
commitce920b6ff47f32bc06dd27124e1b882f82f3d6ae (patch)
tree89f3dac0aa670294053320599a742d670c0ec5a4 /src/compiler/parts
parenttodo: 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/compiler/parts')
-rw-r--r--src/compiler/parts12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/compiler/parts b/src/compiler/parts
new file mode 100644
index 0000000..a10c6b3
--- /dev/null
+++ b/src/compiler/parts
@@ -0,0 +1,12 @@
+base.zc
+lex.zc
+ops.zc
+analyzer.zc
+types.zc
+builtins.zc
+expr.zc
+stmt.zc
+decl.zc
+image.zc
+setup.zc
+check.zc