mirror of
https://github.com/Smaug123/WoofWare.PawPrint
synced 2025-10-06 06:28:39 +00:00
18 lines
662 B
Forth
18 lines
662 B
Forth
namespace WoofWare.PawPrint.Test
|
||
|
||
open WoofWare.PawPrint
|
||
|
||
/// Result of executing (some steps of) the program under PawPrint.
|
||
type RunResult =
|
||
{
|
||
/// Value that was left on the evaluation stack when execution stopped, **if**
|
||
/// the program executed a `ret` that produced a value and PawPrint
|
||
/// subsequently pushed it onto the stack. This is only an early-stage
|
||
/// approximation: once PawPrint supports a proper process-exit story we
|
||
/// can promote this to a real exit–code.
|
||
ExitCode : int option
|
||
|
||
/// Final interpreter state after we stopped executing.
|
||
FinalState : IlMachineState
|
||
}
|