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
- Host: GitHub
- URL: https://github.com/uxmal/prettyprint
- Owner: uxmal
- Created: 2021-07-30T17:29:03.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-20T21:33:25.000Z (over 3 years ago)
- Last Synced: 2024-12-28T06:42:44.415Z (over 1 year ago)
- Language: C#
- Size: 16.6 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.