Lambda Expressions in ANS Forth

ANS Forth expressly forbids the nesting of definitions and so it is not straightforward to define lambda expessions in pure ANS Forth. While these may be handled by code specific to a particular system such code is not portable between systems. This package is an attempt to provide lambda exressions in any ANS Forth compliant system. It works on Windows XP computers using these ANS Forth systems: GForth, VFX Forth, SwiftForth, BigForth and with SP Forth (except with locals - see readme.txt).

Download here

See the file readme.txt for more information.

For a flavour of the functionality offered by this package see the EuroForth paper "Adding Lambda Expressions to Forth" but be aware that this implementation differs in syntax and semantics.

Any comments, error reports, suggestions for improvements, news of other systems and platforms it works on etc will be gratefully received, email Gerry Jackson.

Home