declarec

v0.1.3
Generate C/C++ from .json declarations
C C++ DSL microcontroller embedded systems

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 and Finito.

npm i declarec

Metadata

  • MIT
  • >=0.10.0
  • Jon Nordby
  • released 10/10/2017

Downloads

Maintainers