Do any gray-bearded Lisp programmers remember some old Lisp or Scheme example code that I could study?
[0] https://homepages.inf.ed.ac.uk/wadler/papers/prettier/pretti...
Here is an article on a pretty printer written in Pico Lisp: https://picolisp.com/wiki/?prettyPrint
I attempted to also include all the helper functions which are not standard lisp manually.
print and println put a space between arguments when printing prin and prinl do not. The ones with an l do line breaks, the others not.
pretty prints it's first argument and the second number is an optional argument what level of indentation to start with.