-
-
Notifications
You must be signed in to change notification settings - Fork 161
Open
Labels
Description
Jump instructions and other instructions are very different. Right now we have to pass a jumped
indicator to the value stack, which is very weird. An instruction should either be handled by JumpDetector
, or ValueStack
.
Potentially, move jump detector to its own file, and let it hold the same value stack. Move jump instruction handlers to jump detector. let it call value stack's pop when needed.