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.
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?
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?
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 76 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 56:03:17 |
| Calls: | 1,265 |
| Calls today: | 1 |
| Files: | 1,362 |
| D/L today: |
3 files (2,684K bytes) |
| Messages: | 285,718 |