At long last I've started on my Forth200x tasks. Here's the first
cut of the enhanced local variables using the { ... } notation.
Stephen
RfD - Enhanced local variable syntax
====================================
Stephen Pelc - 20 August 2006
Problem
=======
1) The current LOCALS| ... | notation explicitly forces all locals
to be initialised from the data stack.
2) 1) The current LOCALS| ... | notation defines locals in reverse
order to the normal stack notation.
3) When programming large applications, especially those interfacing
with a host operating system, there is a frequent need for temporary
buffers.
4) Current implementations show that creation and destruction of
local buffers are much faster than using ALLOCATE (
14.6.1.0707)
and FREE (
14.6.1.1605).