ferrobean/bcode-flow/NOTE.md
dzu 13ab24a5e1 add initial version of the control flow parser
in fact, that's not the initial version at all -- it had gone, through,
like, 10 rewrites at this point

I just plan to experiment quite a bit with it now, hence saving this
almost-functional version

bytecode flow is hard :/
2026-01-20 14:14:21 +00:00

240 B

Plan

  • Push the condition variants to the parser; maybe unify if and goto?
  • Define my tree as a Vector from https://docs.rs/im/latest/im/ with start and end tags
  • Divergent branch pruning (can't truly do, until scopes are instroduced)