$ ./half-and-half examples/while_if.js
Assertion failed: BranchesOut.find(Target) == BranchesOut.end(), at: relooper/Relooper.cpp,117,void Block::AddBranchTo(Block *, const char *, const char *) at Error:
at ___assert_func (half-and-half/vendor/relooper.js:974:246)
at __ZN5Block11AddBranchToEPS_PKcS2_ (half-and-half/vendor/relooper.js:2314:4379)
at _rl_block_add_branch_to (half-and-half/vendor/relooper.js:2314:55382)
at Object.RelooperGlue.addBranch (half-and-half/vendor/relooper.js:2467:5)
at recur (half-and-half/ir.coffee:497:25)
at Object.ir.toProgram (half-and-half/ir.coffee:502:5)
at Object.<anonymous> (half-and-half/peval.coffee:288:17, <js>:405:22)
at Object.<anonymous> (half-and-half/peval.coffee:1:1, <js>:409:4)
at Module._compile (module.js:456:26)
The brainfuck example works fine with both brainfuck programs.
I see the following error:
The brainfuck example works fine with both brainfuck programs.