Message from 2022
This post is pretty old! Opinions and technical information in it are almost certainly oudated. Commands and configurations will probably not work. Consider the age of the content before putting any of it into practice.
Finished the final postscript for programming languages this morning. It was a program to take a list of grades from a file and produce a chart showing how many grades fell into each letter (A, B, C, D, and F):
A fairly fun language, although not something I can see myself using very often. It is way nicer than using PHP to draw pictures, just because the graphics features offer flexibility instead of just drawing lines and fillin’ stuff, but the general weirdness of the stack paradigm makes it more difficult to work with.
WHAT WOULD a postscript-like language in ruby look like?
showpage do |p| scale 72 72 moveto 0 0 lineto 10 10 lineto 0 10 lineto 0 0 setsrokewidth 1 pt stroke end
Transforming that to PS might be a pain, but it’d be a pretty neat ruby graphics API anyways.