https://github.com/opensourcedoc/c-stack-mustache
https://github.com/opensourcedoc/c-stack-mustache
c generic-programming mustache-templates
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/opensourcedoc/c-stack-mustache
- Owner: opensourcedoc
- Created: 2019-01-18T11:41:21.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-07-19T01:32:05.000Z (about 4 years ago)
- Last Synced: 2025-01-06T15:49:08.839Z (9 months ago)
- Topics: c, generic-programming, mustache-templates
- Language: C
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Generic C code with Mustache templates.
This repo demonstrates how to use a template language like Mustache to generate generic code for C language.
We made the templates for the header and the code of a stack, from which generated valid C code. Then, we tested against the generted C code with two test programs; one with `int` and the other with a wrapper of `int`.
## System Requirements
* A modern C compiler
* Make
* [mustach](https://gitlab.com/jobol/mustach)## Copyright
Copyright (c) 2019 Michelle Chen. Licensed under Apache 2.0