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
Now continue is unsupported. Probably we can support it by compiling do { <body> } while (<condition>) as follows:
firstIterationLoopName = true
while firstIterationLoopName or (<condition>):
firstIterationLoopName = false
<body>
We need to introduce loop name, but there is already some logic for it in PyGenerationContext – we can pick the missing parts inside js-ir. Or we could use a concept of tmpVariable, this can be even easier.
The text was updated successfully, but these errors were encountered:
This resolves#122. However, I suspect in the future we will need to
adjust BlockDecomposerLowering because it does some modifications to
loops that can be unsupported in Python
Now
continue
is unsupported. Probably we can support it by compilingdo { <body> } while (<condition>)
as follows:We need to introduce loop name, but there is already some logic for it in PyGenerationContext – we can pick the missing parts inside js-ir. Or we could use a concept of tmpVariable, this can be even easier.
The text was updated successfully, but these errors were encountered: