Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/dgraham/stache
- Owner: dgraham
- License: mit
- Created: 2016-12-24T16:12:54.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-08-31T02:11:10.000Z (over 4 years ago)
- Last Synced: 2024-05-11T19:03:05.157Z (7 months ago)
- Topics: compiler, mustache, translator
- Language: Rust
- Size: 135 KB
- Stars: 19
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-pest - stache - A Mustache template compiler. (Projects)
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.