Meri Leeworthy

Approach to rendering Leaf

A render system can apply to any entity that has the required components.

A render system will take 1 input and return 1 output as text.

Not all render applications should be template systems. Template systems are useful for hierarchical data outputs like HTML/XML

This is not by itself a templating system, but a single template with X set of component dependencies and no template dependencies can be transformed into a render system

Simple pseudocode example - <html><body><h1>{{name}}</h1></body></html> Applies to any entity with a name component

A template with template dependencies needs to walk the dependency graph <html><body><h1>{{name}}</h1>{{>footer.ext}}</body></html>

Components: name Templates: footer.ext

footer.ext: <div>My Footer</div> -> no dependencies, this can be inlined in the process of transforming the root template into a render system

List of potentially useful functions

I live and work on the land of the Wurundjeri people of the Kulin Nation. I pay respect to their elders past and present and acknowledge that sovereignty was never ceded. Always was, always will be Aboriginal land.

This site uses open source typefaces, including Sligoil by Ariel Martín Pérez, and Vercetti by Filippos Fragkogiannis