You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at the NHK World interview with ZUN, you can get a glimpse of what the ecl scripts look like when ZUN is working on them himself. I was able to find a similar piece of code in the final game.
In ZUN's engine loops work in a very simple and straightforward manor
Times(iterations)
{
inner code
}
In the ecl disassembly it looks like
$variable = iterations;
goto endofloop;
startofloop:
inner code
endofloop:
decrement $variable
is the result greater than 0? goto beginofloop;
I was wondering if the original syntax can be restored? It might conflict with if statements as there doesn't seem to be any instruction specifically for these instructions and the compiler ZUN uses just generates the logic for them.
Maybe some mechanic that can peek ahead and do some pattern matching to figure out what is and is not a loop? I see some things that resemble while() loops as well but I am not entirely sure about that.
The text was updated successfully, but these errors were encountered:
Looking at the NHK World interview with ZUN, you can get a glimpse of what the ecl scripts look like when ZUN is working on them himself. I was able to find a similar piece of code in the final game.
In ZUN's engine loops work in a very simple and straightforward manor
In the ecl disassembly it looks like
I was wondering if the original syntax can be restored? It might conflict with if statements as there doesn't seem to be any instruction specifically for these instructions and the compiler ZUN uses just generates the logic for them.
Maybe some mechanic that can peek ahead and do some pattern matching to figure out what is and is not a loop? I see some things that resemble while() loops as well but I am not entirely sure about that.
The text was updated successfully, but these errors were encountered: