A template parsing library and tool written in C.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Georg Hopp 41f4765afb Initial repository layout 19 years ago
include Initial repository layout 19 years ago
src Initial repository layout 19 years ago
AUTHORS Initial repository layout 19 years ago
ChangeLog Initial repository layout 19 years ago
Makefile.am Initial repository layout 19 years ago
NEWS Initial repository layout 19 years ago
README Initial repository layout 19 years ago
TODO Initial repository layout 19 years ago
autoclean.sh Initial repository layout 19 years ago
autogen.sh Initial repository layout 19 years ago
configure.ac Initial repository layout 19 years ago
index.tpl Initial repository layout 19 years ago

README

tepal is a Template Parsing Library, written in C. 

It's origin lies in my unhappieness with PHP, JSP and other
languages designed for web-development. Lately i learned a little
about template system and worked a little with smarty and after a
while i got the idea that if one wants to seperate program logic
from display logic it is also possible to write you application
in C as i prefer. The FastCGI interface is as fast or even faster than
the PHP interface. The only thing needed is a library that does the
same things as smarty, set template variables, parse a template and
write the result.

Well, it turns out that this only thing was more work than i first
thought, especially because i never wrote an interpreter or compiler
before. And i had not college courses on that issue too. So i had to
find out everything by my own. Thanks go to the excellent documentation
of flex and bison and the Telos GmbH that published a simple interpreter.

While i was writing this I recognised that it might be usefull at other
things too. Everything that can be created by a cleartext template
and some application logic can be created with this lib.