munificent / craftinginterpreters

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

Incorrect image #1117

Open HorridModz opened 1 year ago

HorridModz commented 1 year ago

At the end of 2.1 (page 12 in physical book), there is an image of all the characters in a program. It reads like this:

var average=(min+max)/2;

I believe the whitespace is incorrect, as spaces are missing around the operators (=, +, and /).

I'm assuming this was done on purpose to make the image fit on one line. However, I'm pointing this out just in case.