nicholaides/cecil
An experimental templating library designed specifically for generating source code (especially for languages that aren’t as meta-programmable as Ruby). Cecil templates closely resemble the target source code, making templates easier to write, read, and maintain.
This is a tool for software developers who need to automatically write or update source code in programming languages that don't have powerful built-in code generation features. You provide a set of rules and data in Ruby, and it produces clean, formatted source code files as text. It's especially useful for generating repetitive code like data models, API clients, or complex type definitions.
No commits in the last 6 months.
Use this if you need to programmatically generate boilerplate code, configuration files, or other text assets in a structured and maintainable way.
Not ideal if you're looking for a general-purpose templating engine for HTML, emails, or other non-code text documents.
Stars
13
Forks
—
Language
Ruby
License
MIT
Category
Last pushed
Jan 06, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/nicholaides/cecil"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
googleapis/gapic-generator-python
Generate Python API client libraries from Protocol Buffers.
zeromicro/go-zero
A cloud-native Go microservices framework with cli tool for productivity.
omissis/go-jsonschema
A tool to generate Go data types from JSON Schema definitions.
openconfig/ygot
A YANG-centric Go toolkit - Go/Protobuf Code Generation; Validation; Marshaling/Unmarshaling
mailru/easyjson
Fast JSON serializer for golang.