public Environment() { Words = new WordDictionary(); Memory = new Memory(100000); DataStack = new DataStack(); ReturnStack = new DataStack("Return Stack"); ControlFlowStack = new ControlFlowStack(); }
public void Reset() { // NOT reset: TextBuffer, Words, Memory and LastCompiledWord DataStack.Clear(); ReturnStack.Clear(); ControlFlowStack.Clear(); ActiveExitWordName = null; IsCompileMode = false; CompilingWord = null; IsMultilineCommentMode = false; }