An open API service indexing awesome lists of open source software.

https://github.com/uxmal/prettyprint

.NET library for pretty printing program source code
https://github.com/uxmal/prettyprint

Last synced: 8 months ago
JSON representation

.NET library for pretty printing program source code

Awesome Lists containing this project

README

          

# Pretty printer

This project is a C# / .NET implementation of the algorithm described in ["A New Language - Independent Prettyprinting Algorithm", by Pugh, William W.; Sinofsky, Steven J. ](https://ecommons.cornell.edu/handle/1813/6648).

## Building

The project is built by first cloning it:
```
git clone https://github.com/uxmal/prettyprint
```
and then building it
```
dotnet build
```

## Usage
The pretty printer is implemented in the class `Reko.Core.Output.PrettyPrinter` class.