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
The problem is related to parsing, in particular when a lambda is created inside a block (in this case the if), but the if is not itself into a function().
I don't have a fix yet, need to check how to solve it.
The text was updated successfully, but these errors were encountered:
I'm getting output 1;2;3 with code A, and [nil];1;2 with code B.
I've just started exploring Buzz. Could you let me know which file contains the function implementation? I'm eager to contribute to your swarm robotics work.
It's not for the faint of heart, but you should look into buzzparser.c, where the assembly is generated. The function parse_if() and parse_lambda() might be a good point to start, there is likely something in there that is not properly set for this situation.
The following code listings generate different behavior. (A) is correct, (B) is wrong.
The problem is related to parsing, in particular when a lambda is created inside a block (in this case the
if
), but theif
is not itself into afunction()
.I don't have a fix yet, need to check how to solve it.
The text was updated successfully, but these errors were encountered: