cppcodegen

Generates C++ code from a JSON AST

Usage no npm install needed!

<script type="module">
  import cppcodegen from 'https://cdn.skypack.dev/cppcodegen';
</script>

README

cppcodegen

A C++ code generator that takes JSON ASTs as input. Deals with the nasty formatting and parenthesizing intricacies of C++ so you don't have to. Doesn't support all of C++ yet.