Sourcery - Meta-programming for Swift, stop writing boilerplate code.

  •        75

Sourcery is a code generator for Swift language, built on top of Apple's own SourceKit. It extends the language abstractions to allow you to generate boilerplate code automatically. It's used in over 8,000 projects on both iOS and macOS and it powers some of the most popular and critically-acclaimed apps you have used. Its massive community adoption was one of the factors that pushed Apple to implement derived Equality and automatic Codable conformance. Sourcery is maintained by a growing community of contributors.

http://merowing.info
https://github.com/krzysztofzablocki/Sourcery

Tags
Implementation
License
Platform

   




Related Projects

T4 Toolbox

  •    CSharp

T4 Toolbox is a set of ready-to-use code generators and T4 extensions for Visual Studio. Quickly build powerful C# or VB templates that generate multiple output files or simply use existing templates for LINQ to SQL, Entity Framework and more.

hack-codegen - Library to programatically generate Hack code and write it to signed files

  •    Hack

Hack Codegen is a library for easily generating Hack code and writing it into signed files that prevent undesired modifications. The idea behind writing code that writes code is to raise the level of abstraction and reduce coupling. You can use your own way of describing a problem and generate the corresponding code. E.g. see examples/dorm. In this example, we use a schema to describe the structure of the data, and we use Hack Codegen to write the matching code. The DORM example shows how to use the different aspects of the code generation in a simplified real-life example. The included tests also exemplify the usage of the different components.

Learn C++ Metaprogramming Concepts

  •    C++

The sourse code and wiki pages present a basic introduction to C++ metaprogramming concepts, including downloadable examples to try at home. Those lessons are not intended in any means to replace specialized books on subject of C++ templates or metaprogramming, but only to pr...

CodeGen Code Generator

  •    

CodeGen is a tool that Synergy/DE developers can use to generate source code and other types of content based on meta-data stored in a Synergy Repository.

swagger-codegen - swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition

  •    HTML

📔 The eBook A Beginner's Guide to Code Generation for REST APIs is a good starting point for beginners. Check out OpenAPI-Spec for additional information about the OpenAPI project.


Smart Code Generator (Asp.Net)

  •    

Smart Code Generator is 100% ASP.NET based codegeneration framework with intellisense, compilation, debug, sourceview and designview support powered by Visual Studio 2005. Smart Code Generator is an Asp.Net application and is a full fledged template based code generator that ...

GenDotNet Code Generation Tools

  •    

A code generation tool with a granular approach encouraging evolution in individual components. The generation engine and templates are based on VB9.0 XML literals which gives the most robust and powerful generation engine to date. Templates are created against isolated metada...

MappingGenerator - :arrows_counterclockwise: "AutoMapper" like, Roslyn based, code fix provider that allows to generate mapping code in design time

  •    CSharp

I would like to thank all of you who contributed to this product by reporting issues, testing, authoring PRs, or buying me coffee. PR authors (except the Only README Updaters) and Coffee Buyers will be awarded with a special license for MappingGenerator for free - I will send them an email with details in a few days. You can download it as Visual Studio Extension from Visual Studio Marketplace.

swagger-js-codegen - A Swagger Codegen for typescript, nodejs & angularjs

  •    HTML

This project is no longer actively maintained by its creator. Please let us know if you would like to become a maintainer. This package generates a nodejs, reactjs or angularjs class from a swagger specification file. The code is generated using mustache templates and is quality checked by jshint and beautified by js-beautify.

NSwag - The Swagger/OpenAPI toolchain for .NET, Web API and TypeScript.

  •    CSharp

NSwag is a Swagger/OpenAPI 2.0 and 3.0 toolchain for .NET, .NET Core, Web API, ASP.NET Core, TypeScript (jQuery, AngularJS, Angular 2+, Aurelia, KnockoutJS, and more) and other platforms, written in C#. The Swagger specification uses JSON and JSON Schema to describe a RESTful web API. The NSwag project provides tools to generate Swagger specifications from existing ASP.NET Web API controllers and client code from these Swagger specifications. The project combines the functionality of Swashbuckle (Swagger generation) and AutoRest (client generation) in one toolchain. This way a lot of incompatibilites can be avoided and features which are not well described by the Swagger specification or JSON Schema are better supported (e.g. inheritance, enum and reference handling). The NSwag project heavily uses NJsonSchema for .NET for JSON Schema handling and C#/TypeScript class/interface generation.

Perfect Storm

  •    

Perfect Storm started life as a code generation utility. It now includes Model Components, Rule Engine details and a class loader. It requires .NET 4.0 to be installed.

LLBLGen ANGTE (ASP.Net GUI Templates Extended)

  •    

LLBLGen ANGTE (ASP.Net GUI Templates Extended) makes possible to use LLBLGen template system to generate a reasonable ASP.Net GUI that you can use as the base of your project or just as a prototyping tool. It generates APS.Net code with C# as code behind using .Net 2.0

Telosys - The simplest and lightest code generator

  •    Java

Telosys is the best developer companion. It generates all the plumbing and repetitive code. It boosts the project kick-off saving many days of development. "Telosys studio" is provided as an Eclipse plugin, it allows to set up models, edit templates and generate the code. "Telosys CLI" can be used to launch generation tasks from the command line.

graphql-code-generator - A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins

  •    TypeScript

GraphQL Code Generator is a tool that generates code out of your GraphQL schema. Whether you are developing a frontend or backend, you can utilize GraphQL Code Generator to generate output from your GraphQL Schema and GraphQL Documents (query/mutation/subscription/fragment). By analyzing the schema and documents and parsing it, GraphQL Code Generator can output code at a wide variety of formats, based on pre-defined templates or based on custom user-defined ones. Regardless of the language that you're using, GraphQL Code Generator got you covered.

Iris Generator

  •    CSharp

Iris generator is a a code generator engine based on plug-ins. For the alpha version the project is released with a SQLServer 2005 database analyser, a CRUD creator, a Stored Procedure generator for SQLServer 2005 and a DataAccess Layer generator for VB.Net and C#. The modula...

apollo-codegen - :pencil2: Generate API code or type annotations based on a GraphQL schema and query documents

  •    TypeScript

This is a tool to generate API code or type annotations based on a GraphQL schema and query documents.It currently generates Swift code, TypeScript annotations, Flow annotations, and Scala code, we hope to add support for other targets in the future.

NSwag - The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript

  •    CSharp

NSwag is a Swagger/OpenAPI 2.0 and 3.0 toolchain for .NET, .NET Core, Web API, ASP.NET Core, TypeScript (jQuery, AngularJS, Angular 2+, Aurelia, KnockoutJS and more) and other platforms, written in C#. The OpenAPI/Swagger specification uses JSON and JSON Schema to describe a RESTful web API. The NSwag project provides tools to generate OpenAPI specifications from existing ASP.NET Web API controllers and client code from these OpenAPI specifications.

hack-codegen - Library to programatically generate Hack code and write it to signed files

  •    Hack

Hack Codegen is a library for easily generating Hack code and writing it into signed files that prevent undesired modifications. The idea behind writing code that writes code is to raise the level of abstraction and reduce coupling. You can use your own way of describing a problem and generate the corresponding code. E.g. see examples/dorm. In this example, we use a schema to describe the structure of the data, and we use Hack Codegen to write the matching code.

Visual Studio 2010 PowerShell Code Generator

  •    CSharp

Brings rich PowerShell functionalities into VS Templating. You can access the file system, the registry, and many other PowerShell features. You can also run PowerShell cmdlets, import modules and more.






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.