Closed tech-ticks closed 1 month ago
cool stuff! I'll try to review it soon.
Regarding the future work: In theory it should be relatively simple to implement self
, the compiler ctx would need a mechanism similiar to how loops are kept track of to know what is the active with-block if any and if self
is encountered that is checked and used (or if None
the compilation failed).
@tech-ticks I think general consensus is not having super/self, so I think only documentation is missing here, right?
Closes #4
Multiple statements in
with
blocksThis PR allows multiple statements in a single
with
block. For example, the following ExplorerScript:generates this SSBScript: