shaunlebron / history-of-lisp-parens

a history of Lisp's most notorious artifact, parentheses
570 stars 29 forks source link

Grinding Lisp code #9

Open lispm opened 7 years ago

lispm commented 7 years ago

Especially the MIT Lisp Machine had a grind command, which could reformat and indent Lisp code.

Indenting of regions of Lisp code is a common feature in text based Lisp editors. But reformatting a whole region is not so often seen. This reformatting would do the overall relayout of the code. This is similar to pretty printing Lisp code, but grinding is done on the text level in an editor buffer.