All Projects → r3c → cottle

r3c / cottle

Licence: MIT license
High performance template engine for C#

Programming Languages

C#
18002 projects
shell
77523 projects

Projects that are alternatives of or similar to cottle

dry
Dry is a new template engine and language, and is a superset of Shopify's Liquid, with first-class support for advanced inheritance features, and more. From the creators of Enquirer, Assemble, Remarkable, and Micromatch.
Stars: ✭ 66 (-33.33%)
Mutual labels:  template-engine, engine
OpenNefia
(Archived) Moddable engine reimplementation of the Japanese roguelike Elona.
Stars: ✭ 103 (+4.04%)
Mutual labels:  engine
B32020
Nothing to see here. Move along now...
Stars: ✭ 24 (-75.76%)
Mutual labels:  dotnetcore
riskfirst.hateoas
Powerful HATEOAS functionality for .NET web api
Stars: ✭ 69 (-30.3%)
Mutual labels:  dotnetcore
ZooKeeper-Admin
ZooKeeper 管理工具
Stars: ✭ 45 (-54.55%)
Mutual labels:  dotnetcore
hydrate-text
A small, dependency-free and strongly typed template engine.
Stars: ✭ 45 (-54.55%)
Mutual labels:  template-engine
ITHVNR
feature/engine update for ITHVNR
Stars: ✭ 72 (-27.27%)
Mutual labels:  engine
mole
A tool for managing design decision outputs for different platforms
Stars: ✭ 30 (-69.7%)
Mutual labels:  template-engine
odin
High level 2d game engine written in Haskell.
Stars: ✭ 28 (-71.72%)
Mutual labels:  engine
goma-engine
A simple C++ 3D game engine with Vulkan support.
Stars: ✭ 34 (-65.66%)
Mutual labels:  engine
Textrude
Code generation from YAML/JSON/CSV models via SCRIBAN templates
Stars: ✭ 79 (-20.2%)
Mutual labels:  template-engine
Discord-UE4
Plugin for integrating Discord Rich Presence.
Stars: ✭ 66 (-33.33%)
Mutual labels:  engine
tnt
A 2d Game Engine written in C++20.
Stars: ✭ 30 (-69.7%)
Mutual labels:  engine
Phobos
Ares-compatible C&C Red Alert 2: Yuri's Revenge engine extension
Stars: ✭ 123 (+24.24%)
Mutual labels:  engine
dilovel
An advanced framework is written in PHP, a framework containing rich components such as middleware, orm, request management, template engine, elasticsearch, template engine, many modern frameworks have been written by adopting clean code principles completely written in accordance with PHP standards. like linux operating system ...All of control…
Stars: ✭ 38 (-61.62%)
Mutual labels:  engine
aer-engine
♒ An OpenGL 4.3 / C++ 11 rendering engine oriented towards animation.
Stars: ✭ 26 (-73.74%)
Mutual labels:  engine
AliDDNSNet
使用 C# + .NET Core 开发的开源 DDNS 工具,基于阿里云的 DNS API 接口。
Stars: ✭ 88 (-11.11%)
Mutual labels:  dotnetcore
elgamalext
Extension for the .NET Framework cryptography subsystem, which introduces the ElGamal public key cryptosystem with support for homomorphic multiplication.
Stars: ✭ 14 (-85.86%)
Mutual labels:  dotnetcore
EtherEngine
简明易用的 Lua 跨平台游戏接口
Stars: ✭ 132 (+33.33%)
Mutual labels:  engine
Carrot
Carrot is a .NET lightweight library that provides a couple of facilities over RabbitMQ.
Stars: ✭ 14 (-85.86%)
Mutual labels:  dotnetcore

Cottle: Compact Object to Text Transform Language

Build Status NuGet license

Overview

Cottle is an open-source (MIT) templating engine for C# .NET designed to be light (no external dependency & simple API), fast (see benchmark) and extensible (see advanced features).

Sample

Hello, {name}!

{if len(messages) > 0:
    You have {len(messages)} new message{if len(messages) > 1:s} in your mailbox!
|else:
    You have no new message.
}
var document = Document.CreateDefault(template).DocumentOrThrow;

return document.Render(Context.CreateBuiltin(new Dictionary<Value, Value>
{
    ["messages"] = GetMessages(),
    ["name"] = "JC Denton"
}));

Resource

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].