# rust-pretty

A pretty printer library for rust.

[![build status](https://api.travis-ci.org/darinmorrison/rust-pretty.svg?branch=master)](https://travis-ci.org/darinmorrison/rust-pretty)

## Synopsis

This library is based on Larsen's SML translation (https://github.com/kfl/wpp) of Wadler's Haskell pretty printer (http://homepages.inf.ed.ac.uk/wadler/papers/prettier/prettier.pdf).

## Documentation

See the generated API documentation [here](http://jonsterling.github.io/rust-pretty/doc/pretty/).

## Requirements

1.   [Rust](http://www.rust-lang.org/)
2.   [Cargo](http://crates.io/)

You can install both with the following:

```
$ curl -s https://static.rust-lang.org/rustup.sh | sudo sh
```

See [Installing Rust](http://doc.rust-lang.org/guide.html#installing-rust) for further details.

## Usage

```
$ cargo build       ## build library and binary
$ cargo run         ## run binary (does nothing useful yet)
```

# rust-pretty

A pretty printer library for rust.

[![build status](https://api.travis-ci.org/jonsterling/rust-pretty.svg?branch=master)](https://travis-ci.org/jonsterling/rust-pretty)

## Synopsis

This library is based on Larsen's SML translation (https://github.com/kfl/wpp) of Wadler's Haskell pretty printer (http://homepages.inf.ed.ac.uk/wadler/papers/prettier/prettier.pdf).

## Documentation

See the generated API documentation [here](http://jonsterling.github.io/rust-pretty/doc/pretty/).

## Requirements

1.   [Rust](http://www.rust-lang.org/)
2.   [Cargo](http://crates.io/)

You can install both with the following:

```
$ curl -s https://static.rust-lang.org/rustup.sh | sudo sh
```

See [Installing Rust](http://doc.rust-lang.org/guide.html#installing-rust) for further details.

## Usage

```
$ cargo build       ## build library and binary
$ cargo run         ## run binary (does nothing useful yet)
```

Change Travis icon to the one on @jonsterling's account
Change Travis icon to the one on @jonsterling's account
