diff options
| author | Cliff Click <cliffc@acm.org> | 2026-11-15 16:11:39 -0800 |
|---|---|---|
| committer | Cliff Click <cliffc@acm.org> | 2026-11-15 16:11:39 -0800 |
| commit | 9fe7c6f9697b5bbf3041261fdc60040e75cc674f (patch) | |
| tree | d92a8ff20ed984938d90ad8917b4d67fba9fb745 /chapter32/src/main/java/com/seaofnodes/simple/README.md | |
| parent | f0a6c6757a795b8e186de0076836a87acef59fa7 (diff) | |
| download | Simple-ch32.tar.gz Simple-ch32.zip | |
Split off chapter 31ch32
Ch 32 will be focused on compiler performance issues.
Diffstat (limited to 'chapter32/src/main/java/com/seaofnodes/simple/README.md')
| -rw-r--r-- | chapter32/src/main/java/com/seaofnodes/simple/README.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/chapter32/src/main/java/com/seaofnodes/simple/README.md b/chapter32/src/main/java/com/seaofnodes/simple/README.md new file mode 100644 index 00000000..a008392e --- /dev/null +++ b/chapter32/src/main/java/com/seaofnodes/simple/README.md @@ -0,0 +1,15 @@ +# Compiler source layout + +| Directory | Contents | +| --- | --- | +| `parser/` | Recursive-descent grammar routines, lexing, name resolution, and construction of the initial IR. `Var` describes a lexical binding. See the [grammar map](../../../../../../docs/32-grammar.md). | +| `node/` | Sea-of-Nodes IR nodes: graph edges, type computation, and local peephole rewrites. | +| `node/cpus/` | Machine-specific nodes and instruction selection support for `arm`, `riscv`, and `x86_64_v2`. | +| `codegen/` | Compilation driver and passes: module loading, optimization, scheduling, register allocation, serialization, and machine-code emission. `IterPeeps` runs the peephole worklist. | +| `type/` | The type lattice, type interning, and representations of values, structs, functions, and memory. | +| `print/` | IR/assembly printers and adapters for the shared graph viewer. | +| `util/` | General-purpose collections, bit sets, byte buffers, and other small utilities. | + +The root package retains `sys.java`, which loads the default Simple namespace. +Java tests, the command-line driver, and the IR evaluator live under +`src/test/java`; the Simple standard library lives under `src/main/smp`. |
