| | @@ -54,20 +54,20 @@ |
| 54 | 54 | |
| 55 | 55 | ## The compiler, in reading order |
| 56 | 56 | |
| 57 | | -Lines after stage 1, all of them and those of code (neither blank nor |
| 57 | +Lines after stage 2, all of them and those of code (neither blank nor |
| 58 | 58 | only comment), as `make loc` counts them: |
| 59 | 59 | |
| 60 | 60 | | File | Lines | Code | What | |
| 61 | 61 | |---|---|---|---| |
| 62 | 62 | | `src/scan.pas` | 548 | 471 | Symbols, literals, comments, error messages | |
| 63 | | -| `src/sym.pas` | 476 | 396 | Types, objects, scopes, layout | |
| 64 | | -| `src/x64.pas` | 613 | 491 | Code buffer, chunks, fixups, instruction encoder | |
| 65 | | -| `src/gen.pas` | 1,177 | 1,035 | Items: loading, storing, copying, frames, calls | |
| 66 | | -| `src/parse.pas` | 1,347 | 1,250 | Declarations, statements, expressions, built-ins | |
| 63 | +| `src/sym.pas` | 492 | 410 | Types, objects, scopes, layout | |
| 64 | +| `src/x64.pas` | 620 | 497 | Code buffer, chunks, fixups, instruction encoder | |
| 65 | +| `src/gen.pas` | 1,354 | 1,193 | Items: loading, storing, copying, frames, calls | |
| 66 | +| `src/parse.pas` | 1,754 | 1,626 | Declarations, statements, expressions, built-ins | |
| 67 | 67 | | `src/link.pas` | 123 | 92 | Tree shaking, layout, patching | |
| 68 | 68 | | `src/elf.pas` | 185 | 147 | Static ELF, symbol table | |
| 69 | 69 | | `src/jed.pas` | 111 | 83 | The command line, the entry point | |
| 70 | | -| total | 4,580 | 3,965 | | |
| 70 | +| total | 5,187 | 4,519 | | |
| 71 | 71 | |
| 72 | 72 | ## Steps |
| 73 | 73 | |