Loom

A blog engine that just works. One binary, no setup, no dependencies.

Posts tagged “dsl” (3)

The Theme Compiler — From ThemeDef to CSSNov 28 10.8K

How Loom compiles typed theme definitions into CSS using pointer-to-member bindings, fold expressions, structural emitters, a full CSS DSL, and component overrides.

--loom-internals --c++20 --themes --css --dsl
The DOM DSL and Component System — HTML as C++ ExpressionsNov 21 12.0K

How Loom turns HTML generation into composable C++ expressions with a fold-based DOM builder, control flow primitives, and a JSX-like component system with theme-overridable slots.

--loom-internals --c++20 --dsl --templates --components