The budget: never past 14,000 lines, by the owner's word
| @@ -63,8 +63,8 @@ | ||
| 63 | 63 | `Luis <42945842+ldiaz94@users.noreply.github.com>`, unsigned |
| 64 | 64 | (`--no-gpg-sign`), no attribution trailer. Push to `main`. No pull |
| 65 | 65 | 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 | |
| 68 | 68 | comment lines not counted), with the compiler documented and |
| 69 | 69 | commented throughout, most of all where it is obscure or needs a |
| 70 | 70 | compiler writer's knowledge; at least 400,000 lines of raz a second. |
| @@ -152,7 +152,7 @@ | ||
| 152 | 152 | value still called. What it costs: an inlined procedure is not in |
| 153 | 153 | the trap report's list of procedures, nor in gdb's backtrace, though |
| 154 | 154 | 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 | |
| 156 | 156 | text kept to be read again, which is to be checked. |
| 157 | 157 | |
| 158 | 158 | ## A var real parameter given an xmm register |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | # Reading the raz compiler |
| 2 | 2 | |
| 3 | 3 | 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 | |
| 5 | 5 | frozen Pascal compiler in `seed/` builds `src/` the first time, and |
| 6 | 6 | after that a raz builds `src/` (`make fixpoint` checks that it makes |
| 7 | 7 | itself again, byte for byte). This guide walks through the files in the order they are best read: from the |