raz / commit 0dddd5cd

commit
0dddd5cdcf6f8df7b68ff255ad8552e11785d227
author
Luis <42945842+ldiaz94@users.noreply.github.com>
date
parent
ae086c9a
compiler.md: table of lines; self README

compiler.md: table of lines; self README

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

patch · log

2 files changed, +5 -6

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

@@ -14,10 +14,10 @@
1414 | `src/scan.pas` | 886 | 747 | Symbols, literals, comments, positions |
1515 | `src/sym.pas` | 646 | 528 | Types, objects, scopes, layout |
1616 | `src/chunk.pas` | 318 | 246 | The compiled program: chunks, fixups, line notes |
17-| `src/x64.pas` | 1,201 | 992 | The instruction encoder, jumps within a procedure, the assembler |
18-| `src/gen.pas` | 2,238 | 1,622 | The stack machine, for x86-64: values, operations, checks, calls, frames |
19-| `src/item.pas` | 1,578 | 1,301 | Items: types, constants, variables, operators, conversions, calls |
20-| `src/parse.pas` | 3,120 | 2,722 | Declarations, statements, expressions, built-ins, recovery, warnings |
17+| `src/x64.pas` | 1,208 | 998 | The instruction encoder, jumps within a procedure, the assembler |
18+| `src/gen.pas` | 2,322 | 1,670 | The stack machine, for x86-64: values, operations, checks, calls, frames |
19+| `src/item.pas` | 1,575 | 1,299 | Items: types, constants, variables, operators, conversions, calls |
20+| `src/parse.pas` | 3,280 | 2,851 | Declarations, statements, expressions, built-ins, recovery, warnings |
2121 | `src/link.pas` | 334 | 258 | Tree shaking, layout, patching, the places |
2222 | `src/elf.pas` | 373 | 294 | Static and dynamic ELF, symbol table, line numbers |
2323 | `src/raz.pas` | 245 | 188 | The command line |

self/README.md modified +1 -2

@@ -50,5 +50,4 @@
5050 module: the slice comparison is slower than the loop it stands for.
5151 (The seed's `match` on an integer was a chain of compares, each
5252 loading the selector from the frame and jumping over a `jmp`, where
53- FPC makes a jump table; now it makes one too, and the seed's `Scan`
54- runs on it.)
53+ FPC makes a jump table; now it makes one too.)