-
Notifications
You must be signed in to change notification settings - Fork 701
Closed
Labels
Milestone
Description
This repo currently has br: branch to a given label in an enclosing construct. I assume the intention is that
(block $block
(branch $block) // goes to $more
)
(block $more)
)
Is my understanding correct?
If so, isn't this more of a "break" than a "branch"? We not are not actually branching to $block, we are going to $more in fact. But the name "branch" implies to me "branch to". It seems nicer to do either
(branch $more), which says "branch to$more" (where we actually branch to), or(break $block), which says "break on$block" (just like a C/JS/etc. break on a labeled block),
over the current state, which says (branch $block) but actually does not branch to $block.
Obviously 1 is a forward goto, which is bad. How about 2?
Reactions are currently unavailable