diff options
Diffstat (limited to 'mingling_core/src/program/repl_exec')
| -rw-r--r-- | mingling_core/src/program/repl_exec/res.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mingling_core/src/program/repl_exec/res.rs b/mingling_core/src/program/repl_exec/res.rs new file mode 100644 index 0000000..1295652 --- /dev/null +++ b/mingling_core/src/program/repl_exec/res.rs @@ -0,0 +1,6 @@ +/// Internal resource for the REPL runtime, used to control the REPL's state during execution +#[derive(Default, Clone)] +pub struct REPL { + /// Marks whether the REPL should exit after the current loop ends + pub exit: bool, +} |
