munificent / craftinginterpreters

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

a bit of confusion about 25.4.4 #1046

Closed ylzshaha closed 2 years ago

ylzshaha commented 2 years ago

Thank you for your great book !I'm trying to write a clox according the third part of book, and I met some confusion about the implementation of closure. image Why does the code uses greater-than-equal instead of equal at this place ? And What does the "or above it part" refers to in the following paragraph ? I 'd appreciate it if some one can give me some explaination .

ylzshaha commented 2 years ago

sorry I didn't see the rest of the chapter , I 've got it 😛