3 ms·
PostScript is such a beautiful language! I used to study the PostScript reference manual for hours at a time, in awe of its elegance and perfection: https://ww
by triska 4y ago
PostScript is such a beautiful language! I used to study the PostScript reference manual for hours at a time, in awe of its elegance and perfection:
https://www.adobe.com/jp/print/postscript/pdfs/PLRM.pdf https://www.adobe.com/jp/print/postscript/pdfs/PLRM.pdf
How interesting a web would be with embeddable PostScript figures! Yes it's Turing-complete and all, and yes that's no problem: Interpret these figures with a timeout, make the interpretation interruptible, use a sandbox or different threads for rendering etc. HTML+CSS+user interaction is Turing complete as well, and we can still browse the web despite this.
Thank you a lot for PostScript!
- mncharity 4y agoCan anyone suggest elegant PS code for reading? Manuals are nice, but there's elegant and concise practice to enjoy as well. For instance, graphics state as first-class objects to be passed around an retained in multiplicity, in painfully stark contrast to the impoverishing scarcity of HTML canvas's graphics contexts.
- smackeyacky 4y agoIt's going to be tough to find something, since most Postscript is generated (badly) rather than hand written. I had a nice hand-written logo we used to use to check if our printer queues were working back in the 1990s but I have lost it now. The following link looks OK to my eyes though: http://paulbourke.net/dataformats/postscript/ http://paulbourke.net/dataformats/postscript/
- kevin_thibedeau 4y agoDon Lancaster's newsletters are all hand coded in PS with his own support routines. Poke around the site and you'll find links to the source along with their PDFs. https://www.tinaja.com/ https://www.tinaja.com/
- DonHopkins 4y agoThe Story of Sun Microsystems PizzaTool: How I accidentally ordered my first pizza over the internet. https://donhopkins.medium.com/the-story-of-sun-microsystems-pizzatool-2a7992b4c797 https://donhopkins.medium.com/the-story-of-sun-microsystems-... PizzaTool source code: https://www.donhopkins.com/home/archive/NeWS/pizzatool.txt https://www.donhopkins.com/home/archive/NeWS/pizzatool.txt PostScript metacircular interpreter (PostScript implemented in PostScript): https://www.donhopkins.com/home/archive/NeWS/ps.ps https://www.donhopkins.com/home/archive/NeWS/ps.ps Glenn Reid's Distillery (PostScript optimizer written in PostScript): https://www.donhopkins.com/home/archive/NeWS/news-tape/utilities/distillery/still.ps https://www.donhopkins.com/home/archive/NeWS/news-tape/utili... https://www.donhopkins.com/home/archive/postscript/newerstill.ps https://www.donhopkins.com/home/archive/postscript/newerstil... Pie Menus for The NeWS Toolkit: https://www.donhopkins.com/home/archive/NeWS/win/pie.ps https://www.donhopkins.com/home/archive/NeWS/win/pie.ps Tab Windows for The NeWS Toolkit: https://www.donhopkins.com/home/archive/NeWS/win/tab.ps https://www.donhopkins.com/home/archive/NeWS/win/tab.ps PostScript terminal emulator: https://www.donhopkins.com/home/archive/NeWS/tnterm.ps https://www.donhopkins.com/home/archive/NeWS/tnterm.ps Mousee (visual mouse input display): https://www.donhopkins.com/home/code/NeWS/demo/mousee https://www.donhopkins.com/home/code/NeWS/demo/mousee UniPress Emacs NeWS Display Driver: https://www.donhopkins.com/home/archive/emacs/emacs.ps https://www.donhopkins.com/home/archive/emacs/emacs.ps Gnu Emacs 18 NeWS Display Driver: https://www.donhopkins.com/home/code/emacs18/src/tnt.ps https://www.donhopkins.com/home/code/emacs18/src/tnt.ps Heap Sort by Owen Densmore: https://www.donhopkins.com/home/code/heapsort.ps.txt https://www.donhopkins.com/home/code/heapsort.ps.txt Bubble Sort by Sam "Bobo" Leffler: https://www.donhopkins.com/home/code/bubblesort.ps.txt https://www.donhopkins.com/home/code/bubblesort.ps.txt QuickSort by Don Woods: https://www.donhopkins.com/home/code/quicksort.ps.txt https://www.donhopkins.com/home/code/quicksort.ps.txt Big Brother -- Jeremy Huxtable's Round NeWS Eyeball Windows (the original inspiration for the crude X-Windows knock-off-in-a-rectangular-window "XEyes"): https://www.donhopkins.com/home/archive/NeWS/news-tape/fun/eye/eye.ps https://www.donhopkins.com/home/archive/NeWS/news-tape/fun/e... https://www.x.org/releases/X11R7.6/doc/man/man1/xeyes.1.xhtml https://www.x.org/releases/X11R7.6/doc/man/man1/xeyes.1.xhtm... >XEyes Author: Keith Packard, MIT X Consortium. Copied from the NeWS version written (apparently) by Jeremy Huxtable as seen at SIGGRAPH ’88. Iterated Function Sequence Fractal Generator by Stan Switzer: https://www.donhopkins.com/home/archive/NeWS/news-tape/fun/ifs/ifs https://www.donhopkins.com/home/archive/NeWS/news-tape/fun/i... Lunar Lander by James Gosling (who also wrote Emacs, NeWS, and Java): https://www.donhopkins.com/home/archive/NeWS/news-tape/fun/lander/lander.ps https://www.donhopkins.com/home/archive/NeWS/news-tape/fun/l... Spider Solitaire by Don Woods (who also wrote Adventure): https://www.donhopkins.com/home/archive/NeWS/news-tape/fun/spider/spider.ps https://www.donhopkins.com/home/archive/NeWS/news-tape/fun/s...
- mncharity 4y agoThanks!
- WillAdams 4y agoAlso see Glenn Reid's "The Green Book", _Thinking in PostScript_: https://w3-o.cs.hm.edu/users/ruckert/public_html/compiler/ThinkingInPostScript.pdf https://w3-o.cs.hm.edu/users/ruckert/public_html/compiler/Th...