[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
stack consing
Your guess that this is a syntax issue was a reasonable guess,
however it happens not to be true. The restrictions on stack
lists (in particular, that the amount of storage devoted to stack
lists must be known at compile time) are architectural, not
syntactic.
However, you can make stack arrays, structures, and instances
in arbitrary quantities. SYS:WITH-DATA-STACK defines a dynamic extent
within which you can create such objects on the stack, using
SYS:MAKE-STACK-ARRAY or :AREA :STACK. This is all documented
except for :AREA :STACK, which may be in the 7.2 release notes
but isn't in the main documentation. If you wish to make
arbitrary amounts of stack lists, stash them inside stack arrays
using ART-Q-LIST arrays (which are documented).