Showing
2 changed files
with
60 additions
and
1 deletions
1 | -tepal is a Template Parsing Library, written in C. | 1 | +tepal is a Template Parsing Library, written in C. |
2 | 2 | ||
3 | It's origin lies in my unhappieness with PHP, JSP and other | 3 | It's origin lies in my unhappieness with PHP, JSP and other |
4 | languages designed for web-development. Lately i learned a little | 4 | languages designed for web-development. Lately i learned a little |
README.md
0 → 100644
1 | +# tepal | ||
2 | + | ||
3 | +Tepal is a Template Parsing Library, written in C. | ||
4 | + | ||
5 | +## Synopsis | ||
6 | + | ||
7 | +[unknown] | ||
8 | + | ||
9 | +## Description | ||
10 | + | ||
11 | +It's origin lies in my unhappieness with PHP, JSP and other | ||
12 | +languages designed for web-development. Lately i learned a little | ||
13 | +about template system and worked a little with smarty and after a | ||
14 | +while i got the idea that if one wants to seperate program logic | ||
15 | +from display logic it is also possible to write you application | ||
16 | +in C as i prefer. The FastCGI interface is as fast or even faster than | ||
17 | +the PHP interface. The only thing needed is a library that does the | ||
18 | +same things as smarty, set template variables, parse a template and | ||
19 | +write the result. | ||
20 | + | ||
21 | +Well, it turns out that this only thing was more work than i first | ||
22 | +thought, especially because i never wrote an interpreter or compiler | ||
23 | +before. And i had not college courses on that issue too. So i had to | ||
24 | +find out everything by my own. Thanks go to the excellent documentation | ||
25 | +of flex and bison and the Telos GmbH that published a simple interpreter. | ||
26 | + | ||
27 | +While i was writing this I recognised that it might be usefull at other | ||
28 | +things too. Everything that can be created by a cleartext template | ||
29 | +and some application logic can be created with this lib. | ||
30 | + | ||
31 | +## Requirements | ||
32 | + | ||
33 | + * Gnu C | ||
34 | + * Flex/Yack | ||
35 | + | ||
36 | +## Contributing | ||
37 | + | ||
38 | +Just email me. | ||
39 | + | ||
40 | +## License | ||
41 | + | ||
42 | +GNU General Public License Version 3 (GPLv3) | ||
43 | + | ||
44 | +> This program is free software: you can redistribute it and/or modify | ||
45 | +> it under the terms of the GNU General Public License as published by | ||
46 | +> the Free Software Foundation, either version 3 of the License, or | ||
47 | +> (at your option) any later version. | ||
48 | +> | ||
49 | +> This program is distributed in the hope that it will be useful, | ||
50 | +> but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
51 | +> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
52 | +> GNU General Public License for more details. | ||
53 | +> | ||
54 | +> You should have received a copy of the GNU General Public License | ||
55 | +> along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
56 | + | ||
57 | +## Author | ||
58 | + | ||
59 | +Georg Hopp <<georg@steffers.org>> |
Please
register
or
login
to post a comment