作者:Robert Nystrom 原文章节:I. Welcome
2026-09-16
作者:Robert Nystrom 原文章节:1 Introduction
2026-09-16
作者:Robert Nystrom 原文章节:2 A Map of the Territory
2026-09-16
作者:Robert Nystrom 原文章节:3 The Lox Language
2026-09-16
作者:Robert Nystrom 原文章节:II A Tree-Walk Interpreter
2026-09-16
作者:Robert Nystrom 原文章节:4 Scanning
2026-09-16
作者:Robert Nystrom 原文章节:5 Representing Code
2026-09-16
本章把上一章的 expression grammar 手写成一个具有优先级、结合性和错误恢复能力的 recursive descent parser。
2026-09-16
本章为 Lox expression tree 添加 interpreter:从 Literal、Grouping、Unary 到 Binary,递归求值并处理 runtime error。
2026-09-16
本章让 Lox 从只能计算 expression,扩展为能执行 statements、保存变量状态,并支持 assignment、block 和 lexical scope。
2026-09-16
第 1 / 4 页 · 共 35 篇