Discussion:
Source Code for Adobe's PostScript Publicly Released
(too old to reply)
luser droog
2022-12-12 04:34:45 UTC
Permalink
https://hardware.slashdot.org/story/22/12/10/2155203/source-code-for-adobes-postscript-publicly-released

most of it anyway. The stacks are implemented as linked lists.
luser droog
2022-12-14 17:58:15 UTC
Permalink
Post by luser droog
https://hardware.slashdot.org/story/22/12/10/2155203/source-code-for-adobes-postscript-publicly-released
most of it anyway. The stacks are implemented as linked lists.
Some other interesting discoveries. The meaning of the 'unregistered' error
has to do with calling an invalid operator code that indexes an uninitialized
slot in the "command table". There is an internal "loop" type object that is
used as a sentinel on the exec stack to delimit a loop's frame, making an
easily searchable target for the 'exit' operator.

Some discussion has also started in comp.lang.c in a thread by Bart about typedefs.
luser droog
2022-12-29 15:36:19 UTC
Permalink
Post by luser droog
Post by luser droog
https://hardware.slashdot.org/story/22/12/10/2155203/source-code-for-adobes-postscript-publicly-released
most of it anyway. The stacks are implemented as linked lists.
Some other interesting discoveries. The meaning of the 'unregistered' error
has to do with calling an invalid operator code that indexes an uninitialized
slot in the "command table". There is an internal "loop" type object that is
used as a sentinel on the exec stack to delimit a loop's frame, making an
easily searchable target for the 'exit' operator.
Some discussion has also started in comp.lang.c in a thread by Bart about typedefs.
I've started a thread in comp.lang.misc about cloning the PostScript interpreter's
ability to load a VM image from disk and resume a saved execution state.
Notably the Adobe interpreter creates an image after populating systemdict and
the operator table and the initial set of names. Then it can quick get up and running
by loading this image from disk, bypassing all that code that constructs the operator
objects. I suppose a lot of the C code that does this initialization can also be stripped
from the code that goes into ROM.
jdaw1
2023-11-20 20:06:12 UTC
Permalink
https://groups.google.com/g/comp.lang.postscript/c/_yxo2ZDiUnU/m/TRItUA17UIgJ
Perhaps one day Adobe will release the current source code.

Loading...