Skip to content

C mustache library with focus on portability and performances

Notifications You must be signed in to change notification settings

funlibs/mustache

Repository files navigation

MUSTACHE

Mustache templating engine implementation. Mostly stick to Mustache spec but:

  • add the {{?mysection}} tag (if section is not empty)
  • use the full file path in include tags {{>}},
  • no lambdas.

This was created for my self-experiments on processor caches/branches optimisation techniques, and profiling tools. Most of the optimization work is related to the expand step (expand.c). It is fast. It does also contains utilities present in the original Ctemplate library (caching templates and dictionary).

See Makefile for build instructions.

See test_expand2.c for a complete usage example.

https://github.com/mustache/mustache

https://github.com/OlafvdSpek/ctemplate

TODO

  • utf8 tests

License

MIT License Copyright 2018 Sebastien Serre

About

C mustache library with focus on portability and performances

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published