LEFT | RIGHT |
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
2 "http://www.w3.org/TR/html4/loose.dtd"> | 2 "http://www.w3.org/TR/html4/loose.dtd"> |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <title>Template Compilers</title> | 5 <title>Template Compilers</title> |
6 <style type="text/css"> | 6 <style type="text/css"> |
7 /* indent everything but headers */ | 7 /* indent everything but headers */ |
8 body { margin-left: .25in } | 8 body { margin-left: .25in } |
9 h1, h2, h3, h4, h5, h6 { margin-left: -.125in !important } | 9 h1, h2, h3, h4, h5, h6 { margin-left: -.125in !important } |
10 h1 { text-align: center; width: auto } | 10 h1 { text-align: center; width: auto } |
(...skipping 1058 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1069 <p>Before this can be tested though, we would need to implement a | 1069 <p>Before this can be tested though, we would need to implement a |
1070 template compiler. Perhaps something with simple perl style "$string" | 1070 template compiler. Perhaps something with simple perl style "$string" |
1071 interpolation anywhere with if & foreach tags using javascript as the | 1071 interpolation anywhere with if & foreach tags using javascript as the |
1072 expression language. That could be implemented quickly on top of the | 1072 expression language. That could be implemented quickly on top of the |
1073 existing DOM parser. | 1073 existing DOM parser. |
1074 <p>Porting a more serious templating language like OSML or YML would | 1074 <p>Porting a more serious templating language like OSML or YML would |
1075 take longer the first time through since significant debugging of the | 1075 take longer the first time through since significant debugging of the |
1076 IHTML→JS compiler can only happen in parallel. | 1076 IHTML→JS compiler can only happen in parallel. |
1077 </body> | 1077 </body> |
1078 </html> | 1078 </html> |
LEFT | RIGHT |