]> Pileus Git - ~andy/ct/blob - example/html.ct
Add C/Bison/Lex ct parser
[~andy/ct] / example / html.ct
1 <% void header() { %>
2 Content-Type: application/xhtml+xml; charset=UTF-8
3 <% } %>
4
5 <% void body() { %>
6         <% for (int i = 0; i < 3; i++) %>
7                 <p>hello, world</p>
8 <% } %>
9
10 <% void html() { %>
11 <html>
12         <body>
13                 <% body(); %>
14         </body>
15 </html>
16 <% } %>