Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 4.35 KB

README.md

File metadata and controls

22 lines (17 loc) · 4.35 KB

H

A toy poc HTML DSL in swift.

comparison

aspect\project swift-html Vaux Plot H
nodes enum generic enum protocol
elements static function of Node global function static function of specialized Node<Context> struct conform H5Element
elements representation array function builder array function builder
attributes static function of Attribute member of HTML member of specialized Node<Context> static function of element's associatedtype
attributes representation array parameter modifier together with inner elements variadic parameters
branch ? native .if native
loop ? forEach .forEach ForEach
useable yes yes yes no
without foundation? no no no currently yes
rendering String concatenation TextOutputStream String concatenation String concatenation