Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/dgraham/stache

A Mustache template compiler.
https://github.com/dgraham/stache

compiler mustache translator

Last synced: about 2 months ago
JSON representation

A Mustache template compiler.

Awesome Lists containing this project

README

        

# Stache

A [Mustache] template compiler.

[Mustache]: http://mustache.github.io

## Usage

```
$ stache -d app/templates/ -o stache.c --emit=ruby
$ stache -d app/templates/ -o stache.c --emit=ruby && clang-format -i -style=webkit stache.c
```

## Development

```
$ git submodule update --init
$ cargo test
$ cargo build
```

Benchmark against [erubi] with:

[erubi]: https://github.com/jeremyevans/erubi

```
$ gem install benchmark-ips erubi
$ cargo test bench -- --ignored --nocapture
```

## License

Stache is released under the MIT license. Check the LICENSE file for details.