📄 readme
字号:
*** under construction ***This is a library for pretty printing. It provides a much richerpretty printing model than the Oppen-style pretty printer providedby the compiler.Its implementation is based on one by Pierre Weis (Copyright INRIA 1996),which was written in CAML, but there are a number of differences: 1) this pretty printer does not support tabulation boxes yet. 2) this pretty-printer is functorized over abstract output devices and input tokens. 3) this pretty-printer supports styled text. 4) this pretty-printer supports both absolute and relative indentation modes (the former is necessary for block-structured language indentation). 5) this pretty-printer supports both imperative pretty-printer streams and declarative pretty-printing layouts, which can be intermixed.The main signatures and implementation can be found in the src directory.The devices directory has some sample output devices (including one forgenerating layouts in HTML). Someday, the examples directory will havesome example pretty-printers; for now, you can look in the tests directory. John Reppy Bell Labs, Lucent Technologies jhr@research.bell-labs.com
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -