User stacks in Forth
I have written some Forth routines to implement the creation and use of stacks with variable sized nodes.
An article about this work has been submitted to Forth Dimensions. The stacks are implemented as a
linked list using ALLOCATE and FREE.
- The source code
- A simple test example (load stacks.f first)
These routines were developed using SwiftForth(TM)
M. Anton Ertl says
"Works with gforth-0.4.0
on Linux/Intel and Digital Unix/Alpha."
Leo Wong reports the routines
work in Win32For and
GForth.