lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, Oct 15, 2010 at 1:11 PM, Javier Guerra Giraldez
<javier@guerrag.com> wrote:
> H('html',nil,
>    H('head',nil, H('title',nil, 'page title')),
>    H('body',nil,
>        H('div', {id='header',class='banner'},
>            H('p',nil, 'header div'))
>        H('div', {id='main'},
>            H('p',nil, 'main part'),
>            H('img', {src='lolcats/purrr.jpg', alt='lol'}),
>            H('a' {href='somewhere/else.html'}, 'lets go')),
>        H('div',{id='footer'}, H('p',nil,'the end'))))

This actually reminds me a lot of Lisp.

~Jonathan