PostScript templates and routines?
from ChubakPDP11@programming.dev to programming@programming.dev on 28 Apr 22:26
https://programming.dev/post/13386837

Hey guys. I’m looking for some good PostScript templates and routines. I am writing something called ‘EBNF Tools’ in Scheme. I wrote the tokenizer and I am now writing the parser. From there, I wish to implement tools like:

But I also wish to implement some EBNF typesetting stuff, such as EBNF2PS or EBNF2Latex.

I know libps exists, and I could potentially bind it. But I wanna use super portable Scheme. And FFIs are not portable. Plus it’s not really needed. I have made a ChatGPT model that teaches me PostScript. I have learned a lot of operators. The syntax, well you gotta be brainlet to have issues learning its syntax but i digress.

What I need is this: A bunch of functions or code snippets in PS that would draw stuff like arrows, etc. Basically anything that is pre-made. Like macros.

Or something like a drawpad with which I can draw and it will give me a PS file. Does such thing exist?

If you know where I can get them please tell me.

#programming

threaded - newest

paulie@programming.dev on 28 Apr 22:39 collapse

Take a look at Don Lancaster’s PostScript Resources. Don passed away a few months ago, so I’m not sure how much longer his site will remain up.

ChubakPDP11@programming.dev on 29 Apr 01:44 collapse

I will download it all and mirror it on my server and Github pages. Hate to see it go. What happened to this dude? Was he old or young?

paulie@programming.dev on 03 May 15:27 collapse

Take a look at his wikipedia entry. Though I only learned about him from posts mourning his death, I still found reading about his many niche interests at his website very enjoyable.