Previous Up Next

8  Pretty printer

stable, tested

The pretty printer provides functions for formatted output. It uses the formatting facilities of the general, language-independant Layout-module. The implementation is pretty obvious. Therefore, only the interface is shown.

!?
To do:
Perhaps give back a string too.
!?
To do:
Make that the pretty-printed output is parseable again! Here are a number of discrepancies/questions
  1. nil = _?

[aConcat] Why did we program an new aConcat-function instead of using the one from the Layout-module? [Later] Can one unambiguously reconstruct the exact input using the position information? It would be at least a test to see whether the parser works ok.

!?
To do:
The indentation for let-in and function definitions are not yet too nice.
 ,
Previous Up Next