https://github.com/jonnor/declarec
C/C++ definitions generated from json/yaml declarations
https://github.com/jonnor/declarec
code-generation declarative javascript
Last synced: 9 months ago
JSON representation
C/C++ definitions generated from json/yaml declarations
- Host: GitHub
- URL: https://github.com/jonnor/declarec
- Owner: jonnor
- Created: 2014-10-02T12:00:03.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-10-10T20:41:10.000Z (over 8 years ago)
- Last Synced: 2024-10-13T13:04:08.629Z (about 1 year ago)
- Topics: code-generation, declarative, javascript
- Language: CoffeeScript
- Homepage:
- Size: 14.6 KB
- Stars: 2
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
declarec
=========
When working on software, protocols implemented in both both "high-level" languages (like Python, JavaScript, Java)
and a "low-level" languages (like C or C++) there is often a need to share definitions.
*declarec* allows you to generate C/C++ code for defining enums, include statements
from a .json definition.
That way you can use the .json definition directly in the high-level language,
and the generated code in C/C++.
Used by [MicroFlo](http://github.com/jonnor/microflo) and [Finito](http://github.com/jonnor/finito).