All Projects → jsoysouvanh → Kodgen

jsoysouvanh / Kodgen

Licence: MIT License
C++17 parser and code generator

Programming Languages

C++
36643 projects - #6 most used programming language
CMake
9771 projects
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Kodgen

codespawn
Code generator written in Rust
Stars: ✭ 34 (+78.95%)
Mutual labels:  codegenerator, code-generation, codegeneration
enumer
A Go tool to auto generate methods for your enums
Stars: ✭ 167 (+778.95%)
Mutual labels:  codegenerator, code-generation, codegeneration
d2a
A translator Django into SQLAlchemy.
Stars: ✭ 23 (+21.05%)
Mutual labels:  code-generator, codegenerator
oag
Idiomatic Go (Golang) client package generation from OpenAPI documents
Stars: ✭ 51 (+168.42%)
Mutual labels:  code-generator, code-generation
EasyEE-Auto
EasyEE 自动化代码生成器。EasyEE Automated code generator.
Stars: ✭ 39 (+105.26%)
Mutual labels:  code-generator, code-generation
php-json-schema-model-generator
Creates (immutable) PHP model classes from JSON-Schema files including all validation rules as PHP code
Stars: ✭ 36 (+89.47%)
Mutual labels:  code-generator, code-generation
celerio
Celerio is a code generator tool for data-driven application.
Stars: ✭ 73 (+284.21%)
Mutual labels:  code-generator, code-generation
kube-code-generator
Kubernetes code generator docker image
Stars: ✭ 60 (+215.79%)
Mutual labels:  code-generator, code-generation
typed-astunparse
Python 3 AST unparser with type comments support.
Stars: ✭ 27 (+42.11%)
Mutual labels:  code-generator, code-generation
mr.boilerplate
Online app to generate Scala boilerplate
Stars: ✭ 32 (+68.42%)
Mutual labels:  code-generator, code-generation
damascus
⚔️ CRUD boilerplate generator for Liferay DXP
Stars: ✭ 51 (+168.42%)
Mutual labels:  code-generator, codegenerator
regen
Easy C++ reflection and code generation
Stars: ✭ 29 (+52.63%)
Mutual labels:  code-generator, code-generation
evon
Fast and versatile event dispatcher code generator for Golang
Stars: ✭ 15 (-21.05%)
Mutual labels:  code-generator, code-generation
WebApiToTypeScript
A tool for code generating TypeScript endpoints for your ASP.NET Web API controllers
Stars: ✭ 26 (+36.84%)
Mutual labels:  code-generator, code-generation
CodegenCS
C# Toolkit for Code Generation (T4 alternative!)
Stars: ✭ 119 (+526.32%)
Mutual labels:  codegenerator, codegeneration
django-code-generator
Generate code from your Django models for faster development
Stars: ✭ 35 (+84.21%)
Mutual labels:  code-generator, code-generation
Jennifer
Jennifer is a code generator for Go
Stars: ✭ 2,257 (+11778.95%)
Mutual labels:  code-generator, code-generation
Evolutility Ui Jquery
Model-driven Web UI for CRUD using REST or localStorage.
Stars: ✭ 164 (+763.16%)
Mutual labels:  code-generator, code-generation
tiles
Programmatic code generation
Stars: ✭ 78 (+310.53%)
Mutual labels:  code-generator, code-generation
GraphQL.Tools
GraphQL.Tools is a GraphQL to C# compiler (code-generator) which turns your GraphQL schema into a set of C# classes, interfaces, and enums.
Stars: ✭ 49 (+157.89%)
Mutual labels:  code-generator, code-generation

Kodgen

License: MIT Latest Release Tests

Kodgen is a C++17 library based on libclang. It provides tools to parse C++ source files and generate files from the parsed data. The C++ entities parsed in the current implementation are namespaces, structs/classes, non-member and member variables, non-member and member functions, enums and enum values.

Getting Started

Requirements:

  • CMake 3.15.0+ (if you build the library from source).
  • A compatible compiler: MSVC Platform Toolset v141+ / GCC8.0.0+ / Clang 7.0.0+.

Clone the repository

Clone the git repository with its submodules:

> git clone https://github.com/jsoysouvanh/Kodgen.git
>
> cd Kodgen

Generate the project

> cmake -B Build/Release -DCMAKE_BUILD_TYPE=Release -G "<Generator>"

Most common generators include:

  • Visual Studio 15 2017
  • Visual Studio 16 2019
  • Unix Makefiles
  • Ninja
  • Type cmake -G for more information

Note: If you use Visual Studio 15 2017 generator, the default target platform is x86 so you should specify it explicitely. See the generator documentation for more information.

> cmake -B Build/Release -DCMAKE_BUILD_TYPE=Release -G "Visual Studio 15 2017" -A x64

Build the library

> cmake --build Build/Release --config Release --target Kodgen

You will find built executables / shared libraries in Kodgen/Build/Release/Bin and static libraries in Kodgen/Build/Release/Lib.

Cross-platform compatibility

This library has been tested and is stable on the following configurations:

  • Microsoft Windows Server | MSVC 19.29.30133.0
  • Linux 20.04 | Clang 7.0.1, Clang 8.0.1, Clang 9.0.1, Clang 10.0.0, Clang 11.0.0
  • Linux 20.04 | GNU 8.4.0, GNU 9.3.0, GNU 10.3.0, GNU 11.1.0
  • Mac OS X 10.15.7 | AppleClang 12.0.0
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].