raz / commit 9fd46d2d

commit
9fd46d2dd289f1877d19749bec833e5260aa6718
author
Luis <42945842+ldiaz94@users.noreply.github.com>
date
parent
88e8e9b0
The budget: never past 14,000 lines, by the owner's word

patch · log

3 files changed, +4 -4

CLAUDE.md modified +2 -2

@@ -63,8 +63,8 @@
6363 `Luis <42945842+ldiaz94@users.noreply.github.com>`, unsigned
6464 (`--no-gpg-sign`), no attribution trailer. Push to `main`. No pull
6565 requests unless asked.
66-- Budget: a soft limit of 10,000 lines of code, never past 11,000
67- (raised from 8,500 by the owner's word, for better code; blank and
66+- Budget: a soft limit of 10,000 lines of code, never past 14,000
67+ (raised from 8,500, then from 11,000, by the owner's word; blank and
6868 comment lines not counted), with the compiler documented and
6969 commented throughout, most of all where it is obscure or needs a
7070 compiler writer's knowledge; at least 400,000 lines of raz a second.

PROPOSALS.md modified +1 -1

@@ -152,7 +152,7 @@
152152 value still called. What it costs: an inlined procedure is not in
153153 the trap report's list of procedures, nor in gdb's backtrace, though
154154 a failed check in it is still told at its line; 60 to 100 lines of
155-the 164 left below 11,000; and, across modules, the imported module's
155+the budget; and, across modules, the imported module's
156156 text kept to be read again, which is to be checked.
157157
158158 ## A var real parameter given an xmm register

doc/compiler.md (history) modified +1 -1

@@ -1,7 +1,7 @@
11 # Reading the raz compiler
22
33 The compiler is eleven files of raz, about 10,900 lines of code (the
4-budget is a soft 10,000, never past 11,000). It is its own compiler: the
4+budget is a soft 10,000, never past 14,000). It is its own compiler: the
55 frozen Pascal compiler in `seed/` builds `src/` the first time, and
66 after that a raz builds `src/` (`make fixpoint` checks that it makes
77 itself again, byte for byte). This guide walks through the files in the order they are best read: from the