The following is kinda fun because brili terminates but brilirs does not(Whether one takes the first or last occurrence of a label).
@main{
jmp .A;
.A:ret;
.A:jmp .A;
}
While brilirs can mirror this behavior, it can also be "helpful" by returning an error when it detects multiple labels as the specification/users intention is ambiguous.
The following is kinda fun because
brili
terminates butbrilirs
does not(Whether one takes the first or last occurrence of a label).While
brilirs
can mirror this behavior, it can also be "helpful" by returning an error when it detects multiple labels as the specification/users intention is ambiguous.2 commits to clean up the function first