Hi all,

I originally sent this to the lua list, but I think it's more useful
here. As a by-product to a never eally finished application server, I
developed a template engine thats based on XML syntax rather than
programmatically generated output. Why? The designers I work with come
from the python world, worked specfically with kid and genshi and liked
it, read they are used to it.

Code:
http://github.com/tobbik/parcle/blob/master/lib/Parclate.lua
Docs(more of a description):
http://github.com/tobbik/parcle/blob/master/doc/Parclate.rst
Test(More of a showcase):
http://github.com/tobbik/parcle/blob/master/tests/parclate.lua

The speed seems to be fine, I compared it to some python engines and it
came out close to the top. (Despite it's XML template source, the output
generation is based on table.concat()).

What's left to be done?

- template inheritance
- better error handling
- a batch conversion from input to "compiled" templates

comments, improvements and ideas welcome.

Thanks,
        -T

_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to