Closed a2aaron closed 7 years ago
This PR adds Code, which is a wrapper struct meant to make it not possible to create an invalid Vec<Cmd>. This simplifies the code for evaluating a bytebeat since we no longer need to check the stack's status every time we pop it.
Code
Vec<Cmd>
Looks better to me.
This PR adds
Code
, which is a wrapper struct meant to make it not possible to create an invalidVec<Cmd>
. This simplifies the code for evaluating a bytebeat since we no longer need to check the stack's status every time we pop it.