Closed jeandrek closed 8 years ago
How about a block
special form that works just likes, begin
, except that it creates a new scope?
That's what I meant by the second possibility.
I could leave popping the local variables to the end of the procedure, but then the rest of the procedure would be taking more stack space than necessary… I should add another item to the stack at the start of a block but rather than it starting at 0 have it start at the same, and run cleanup at the end of the block
I've implemented a block special form on the block
branch and it works
EDIT: And I made for use block instead of begin
Added with #6
do-it should have block structure
Possibilities: