Why is Postscript not Forth?

Created on 2022-09-17T16:59:57-05:00

Return to the Index

This card pertains to a resource available on the internet.

This card can also be read via Gemini.

Stacks: Forth only places data in to stacks and stacks have to be minded manually. PostScript objects carry type identifiers which can be inspected so a function can be polymorphic.

Compilation: PostScript is usually interpreted. Type information is plentiful which makes dumping code easay. Forth is interpreted or compiled. Decompiling Forth can be nontrivial since no type information is available and function definitions may involve memory allocations.