This patchset fixes up the r-stack in interpret mode and the evaluate word so OpenBIOS can boot OS 9 without r-stack corruption or introducing any regressions.
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@ilande.co.uk
v2: - Move r-stack commands to a separate rstack.fs file - Minor tweaks suggested by Segher
Cormac O'Brien (1): interpreter.fs: allow evaluate to split words on CR as well as LF
Mark Cave-Ayland (2): rstack.fs: add pseudo r-stack implementation for interpret mode interpreter.fs: don't clobber stack across evaluate strings split on newlines
forth/bootstrap/interpreter.fs | 4 +++- forth/lib/build.xml | 1 + forth/lib/rstack.fs | 21 +++++++++++++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 forth/lib/rstack.fs