#PrettyPrinting

vintage screwlisp accountscrewtape@mastodon.sdf.org
2024-08-31

#programming #techDiscussion of #commonLisp on #itch_io .
lispy-gopher-show.itch.io/moon

: A short pamphlet about what I think you get out of lisp. Namely #loop #format #clim #clos #conditions ie #iteration #prettyPrinting #GUI #oop #notCrashing

When I remember how to get any of my tildes back I will gopher the org doc.

vintage screwlisp accountscrewtape@mastodon.sdf.org
2023-06-02

#CommonLisp #Mastoquestions #prettyPrinting
So I do want to pretty print some forms, but I don't want the "oh this is a when form" pretty printing. What to do?
(princ '((when the first atom is when this happens)))
(princ '((but otherwise this happens))
*but imagine these forms are really long

Jörg Preisendörferjpreisendoerfer
2023-01-05

@phoe

Note that the dispatch tables of conceptionally are a with .

The function SET-PPRINT-DISPATCH is essentially an ADD-METHOD to the pretty printing parametric dispatch.

(Unfortunatly, the canonical, implementation of PP by is one single convoluted mess; basically a negative example of software design, even by standards of its time.)

🌺

🏷️

रञ्जित (Ranjit Mathew)rmathew
2020-03-28

All these via the HN comments-thread:

news.ycombinator.com/item?id=2

related to this story:

"The Hardest Program I've Ever Written" [2015], Robert Nystrom (journal.stuffwithstuff.com/201).

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst