kondrak/codespawn
Code generator written in Rust
This tool helps C++ and Rust developers automatically generate boilerplate code. You provide a description of the desired API (like enums, structs, and functions) in a JSON or XML file or string. It then outputs the corresponding C++ or Rust source code, which can be saved to a file or used directly in your project. It's designed for developers building applications in C++ or Rust.
No commits in the last 6 months.
Use this if you are a C++ or Rust developer who needs to rapidly create API definitions and generate the corresponding code to reduce manual coding effort.
Not ideal if you are looking for a general-purpose code generator that supports many languages beyond C++ and Rust, or if you need to generate code that isn't focused on API structures like enums and functions.
Stars
39
Forks
5
Language
Rust
License
MIT
Category
Last pushed
Jul 11, 2023
Monthly downloads
23
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/kondrak/codespawn"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
lerouxrgd/rsgen-avro
Command line and library for generating Rust types from Avro schemas
seaofvoices/darklua
A command line tool that transforms Lua code
elastio/bon
Next-gen compile-time-checked builder generator, named function's arguments, and more!
usethesource/rascal
The implementation of the Rascal meta-programming language (including interpreter, type checker,...
JacquesCarette/Drasil
Generate all the things (focusing on research software)