Search
Sunday, 11th of August 2019, 17:56:24 UTC
17:56:36
Bike
i think we might need to have the initialize instruction placed not immediately after the enclose, like for mutually recursive functions. that might be difficult if we make it earlier.
17:56:44
Bike
i mean, i guess we'd move it?
17:57:50
beach
I thought we added instructions, like CREATE-CELL and such, and we just made sure they were placed between the two.
17:58:09
Bike
i'm not actually sure - karlosz wrote that code
17:58:24
beach
I'll think about it and study his code.
17:58:27
Bike
well, except cells are created at the top of the function, pretty sure
17:58:51
beach
OK, but they could be created later probably.
17:59:07
beach
Anyway, thanks. I'll think about it some more.
18:05:18
beach
For things like LABELS, all instructions for setting the static environment must come after the last ENCLOSE.
18:05:33
beach
... if we want to avoid the cell creation, that is.
18:06:19
beach
Because the output of each ENCLOSE may be in the static environment of the others.
18:06:54
beach
So if we introduce them in AST-to-HIR, they would have to be moved, as you hinted.
18:11:34
beach
... unless we place them right initially. But that may require doing it at the AST level.
18:19:05
beach
Anyway, I am off to spend time with my (admittedly small) family. I'll be back tomorrow morning (UTC+2).
4:33:41
beach
Good morning everyone!
4:33:54
no-defun-allowed
Good morning beach!
Monday, 12th of August 2019, 5:56:24 UTC