• Source Code for Adobe's PostScript Publicly Released

    From luser droog@21:1/5 to All on Sun Dec 11 20:34:45 2022
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From luser droog@21:1/5 to luser droog on Wed Dec 14 09:58:15 2022
    On Sunday, December 11, 2022 at 10:34:46 PM UTC-6, luser droog wrote:
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From luser droog@21:1/5 to luser droog on Thu Dec 29 07:36:19 2022
    On Wednesday, December 14, 2022 at 11:58:16 AM UTC-6, luser droog wrote:
    On Sunday, December 11, 2022 at 10:34:46 PM UTC-6, luser droog wrote:
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jdaw1@21:1/5 to All on Mon Nov 20 12:06:12 2023
    https://groups.google.com/g/comp.lang.postscript/c/_yxo2ZDiUnU/m/TRItUA17UIgJ Perhaps one day Adobe will release the current source code.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)