munificent / craftinginterpreters

Repository for the book "Crafting Interpreters"
http://www.craftinginterpreters.com/
Other
8.84k stars 1.04k forks source link

rename Statements and Expressions section #24

Closed jvasileff closed 7 years ago

jvasileff commented 7 years ago

Especially given the use of the word "latter" in http://www.craftinginterpreters.com/the-lox-language.html#design-note, it seems the title should list Expressions & Statements in the same order as the text.

DESIGN NOTE: STATEMENTS AND EXPRESSIONS Lox has both expressions and statements. Some languages omit the latter. Instead, they treat declarations and control flow constructs as expressions too.

munificent commented 7 years ago

Great point, done!