2026
-
Crafting Interpreters: Chapter 2 - A Map of the Territory
TLDR: This note maps the interpreter pipeline from source text through tokens, parsing, semantic analysis, code generation, and runtime choices.
-
Crafting Interpreters: Chapter 3 - The Lox Language
TLDR: Lox is the small language that carries the book: expressive enough for classes, closures, and control flow, but compact enough to implement twice.
-
Crafting Interpreters: Chapter 4 - Scanning
Scanning is the first structural boundary in an interpreter: raw characters become tokens, so the parser can work with language units instead of individual bytes.
-
自私的基因:第 7 章 计划生育
TLDR: Reproduction is a trade-off between more offspring and better-supported offspring, so restraint can be self-interested rather than species-minded.
-
自私的基因:第 8 章 代际之战
TLDR: Parents and children cooperate through shared genes, but their interests are not identical, which makes family care a site of real strategic conflict.
-
自私的基因:第 4 章 基因机器
TLDR: Bodies and brains are gene-built action machines: genes set up the machinery, but fast behavior has to be delegated to perception, memory, and decision systems.
-
自私的基因:第 5 章 进犯行为
TLDR: Aggression is not simply about being harsher; stable strategies depend on injury cost, resource value, opponent behavior, and the wider population mix.
-
自私的基因:第 6 章 基因种族
TLDR: Kin selection explains why helping relatives can still serve selfish genes, because the same gene may be preserved through another body.