PrettyPrinter
Pretty Printer Based on Oppen[1979] With Small Enhancements
Install / Use
/learn @robertmuth/PrettyPrinterREADME
PrettyPrinter
Pretty printer based on
Pretty Printing
Derek C. Oppen, 1979
[PDF](https://www.cs.tufts.edu/~nr/cs257/archive/derek-oppen/prettyprinting.pdf)
with some enhancements.
Currently, implementation are available in
- Python3 (the reference implenentation) - see [tests.py] for usage
- C++ (20) - see [tests.cc] for usage
PrettyPrinter is used by Cwerg for formatting Sexpr- and Python-style syntaxes.
For more recent developments in the field of Pretty Printing this paper has a good historical overview:
The Final Pretty Printer
David Christiansen, David Darais, Weixi Ma
[PDF](https://davidchristiansen.dk/drafts/final-pretty-printer-draft.pdf)
Like most recent papers it is using a very functional style and may be less accessible.
Related Skills
node-connect
349.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
