The s-expression template engine.


  (        )
 '          '

An s-expression template engine with no external dependencies.

Templates look like this:

    (title "Hello")
    (script src="/js/my-app.js"))
        (p "Welcome to my site, " :name "!")))
            (a href="/index.html" "Home"))))))

Use it like this:

var template= settee(source),
    html= template({ name:"Matt" })

It's great to drink coffee while lounging on the settee!

template= settee source
html= template name:"Matt"

As function:

settee( source:string )

Returns a #template function:

template( context:object )

S-Expression parser code based on: