|
|
|
|
|
by DuncanMak
1290 days ago
|
|
Kragen, how much of what you said here about Forth also applies to PostScript, do you think? I have been tinkering with PostScript but not Forth, I grok that PostScript is a lot closer to LISP. A lot of people (without actually learning these languages/systems) say Forth and PS are similar, but I know that's not really the case - their resemblance is fairly superficial. |
|
or maybe because you can't >r r@ r@ rdrop, or because garbage-collected [arrays] remove the temptation to write subroutines with 6 parameters
ps is fairly big compared to forth, not the 16 megs of libgs.so.9.50 but definitely a lot more than 8k
what they have in common is interactive repl orientation, user-defined control structures, great flexibility, lack of static types, and of course rpn
i was going to say 'closures' but of course ps's scoping is dynamic so it lacks them