From Newsgroup: comp.lang.postscript
On Tue, 26 Mar 2024 06:19:49 -0000 (UTC), I wrote:
On Tue, 26 Mar 2024 16:11:07 +1100, David Newall wrote:
On 3/3/24 16:42, Lawrence D'Oliveiro wrote:
But these rCLfunctionrCY objects do have some deficiencies: no (simple)
support for reentrant local variables, and no lexical binding. Fix
these up, and you have a much more useful language.
% p1 p2 p3 f - % demonstrate local variables and recursive parameters
/f {
6 dict begin
/p3 exch def
/p2 exch def
/p1 exch def
/l1 (value) def
/l2 (value) def
/l3 (value) def ...
end
} def
No?
Notice I said rCLreentrantrCY?
Sorry, that is of course reentrant. But it does dynamic binding, not
lexical.
--- Synchronet 3.21d-Linux NewsLink 1.2