raz / commit 0d6f0f1f

commit
0d6f0f1f44a3281e3ba9e8c432788c5b71ec5cbe
author
Luis <42945842+ldiaz94@users.noreply.github.com>
date
parent
82a614f3
Stage 2 done: record the lines

patch · log

2 files changed, +7 -8

PLAN.md (history) modified +6 -6

@@ -54,20 +54,20 @@
5454
5555 ## The compiler, in reading order
5656
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
5858 only comment), as `make loc` counts them:
5959
6060 | File | Lines | Code | What |
6161 |---|---|---|---|
6262 | `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 |
6767 | `src/link.pas` | 123 | 92 | Tree shaking, layout, patching |
6868 | `src/elf.pas` | 185 | 147 | Static ELF, symbol table |
6969 | `src/jed.pas` | 111 | 83 | The command line, the entry point |
70-| total | 4,580 | 3,965 | |
70+| total | 5,187 | 4,519 | |
7171
7272 ## Steps
7373

src/parse.pas modified +1 -2

@@ -12,8 +12,7 @@
1212 interface.
1313
1414 Depends on: scan, sym, x64, gen.
15- Leaves out (for later stages): multiple results, errors, enumerations
16- and sets, record literals, defer, NEW, generic modules, extern. }
15+ Leaves out (for stage 3): extern and link. }
1716
1817 unit parse;
1918