Common Lisp guys have their CL-WHO, which makes HTML templating integrated with the \"main\" language thus making the task easier. For those who don\'t know CL-WHO, it looks
One of The Perl Foundation's current grant-sponsored projects (a lightweight web framework for Perl 6) has working Perl6 code that provides a similar interface:
use Tags;
say show {
html {
head { title { 'Tags Demo' } }
body {
outs "hi";
ul :id {
outs "A list from one to ten:";
for 1..10 {
li :class, { $_ }
}
}
}
}
}
Browse or clone the current code on github.