diff options
| author | Brian Cully <bjc@spork.org> | 2025-08-22 13:38:47 -0400 |
|---|---|---|
| committer | Brian Cully <bjc@spork.org> | 2025-08-22 14:42:36 -0400 |
| commit | 79441128958669b16ce8dfe39a3684069921f604 (patch) | |
| tree | 4112092916e7bf568cc67e6bcd0621779e2d6eae /src/forth/interp.rs | |
| parent | 4f7bbbf4ee269ef6638c69fc5982b0dfe4b8b947 (diff) | |
| download | automathon-79441128958669b16ce8dfe39a3684069921f604.tar.gz automathon-79441128958669b16ce8dfe39a3684069921f604.zip | |
make compile button actually compile
Diffstat (limited to 'src/forth/interp.rs')
| -rw-r--r-- | src/forth/interp.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/forth/interp.rs b/src/forth/interp.rs index c6dcb72..b34ed31 100644 --- a/src/forth/interp.rs +++ b/src/forth/interp.rs @@ -66,15 +66,15 @@ pub(super) struct DataStack(pub(super) Vec<i32>); pub(super) struct CallStack(pub(super) Vec<InstructionPointer>); #[derive(Clone, Debug)] -pub(super) struct WordList(pub(super) Vec<ByteCode>); +pub struct WordList(pub(super) Vec<ByteCode>); #[derive(Debug)] pub struct Interp { // todo: don't be pub, probably - pub stack: DataStack, + pub(super) stack: DataStack, callstack: CallStack, // todo: don't be pub - pub wordlist: WordList, + pub(super) wordlist: WordList, ip: InstructionPointer, } |
