Looking for a codegen library that uses C++ for scripting

This page summarizes the projects mentioned and recommended in the original post on /r/cpp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • gsl

    Discontinued iMatix GSL code generator (by imatix)

  • I'm working on a project that currently uses GSL for its code generation. If you're not familiar, I wouldn't recommend checking it out. It is a pretty old template engine that is no longer maintained and lacks features that would make it a good functional language. I have therefore been tasked with finding a replacement.

  • Inja

    A Template Engine for Modern C++

  • I've looked into a newer template engine like Inja, but my client isn't quite happy with that either. Inja allows you to write templates that you feed JSON data into:

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • ChaiScript

    Embedded Scripting Language Designed for C++

  • Maybe ChaiScript? It is not exactly what you are looking for, but very similar, in my opinion.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts