Closed Dominik1999 closed 1 year ago
closes #68
This PR enables the frontend to run the Rust program debug_program, which executes miden_vm::execute_iter.
debug_program
miden_vm::execute_iter
https://user-images.githubusercontent.com/35031754/225068792-fbc6880d-ac29-425c-93ea-0935112ac684.mov
OK, now The playground uses the same debugging methods as the Miden CLI, see here.
For now, I have only implemented 5 methods in the fronend
PlayAll, Play(usize), RewindAll, Rewind(usize), PrintState,
but all methods are exposed in the backend.
We should refactor the lib.rs and CodingEnvironment.tsx, both grow way too big, but that might be for the next PR.
lib.rs
CodingEnvironment.tsx
closes #68
This PR enables the frontend to run the Rust program
debug_program
, which executesmiden_vm::execute_iter
.https://user-images.githubusercontent.com/35031754/225068792-fbc6880d-ac29-425c-93ea-0935112ac684.mov
OK, now The playground uses the same debugging methods as the Miden CLI, see here.
For now, I have only implemented 5 methods in the fronend
but all methods are exposed in the backend.
We should refactor the
lib.rs
andCodingEnvironment.tsx
, both grow way too big, but that might be for the next PR.