28 Dec 10:27
HTML_EVAL and other add-ons - new version available
Dmitriy Ivanov <divanov11 <at> gmail.com>
2011-12-28 09:27:01 GMT
2011-12-28 09:27:01 GMT
Hello folks, I have reported about my first attempts to augment HTML-TEMPLATE about three years ago. Please take a look at http://lisp.ystok.ru/yhtml/html-template.html There are too many changes now and I hardly believe they can be considered as patches but rather a branch. Moreover, I am not using the documentation tool used by Edi. So I could only augment the HTML documentation file "by hands". Is there any chance to integrate my version into mainstream repository? Any hints or suggestions are welcome. The main differences are below. 1. A Lisp form in place of "plane attribute" is allowed. Forms are read by the standard read function. All starting tags (except TMPL_INCLUDE) accept forms instead of "old style" attributes. The *attributes-are-lisp-forms* special variable was introduced. Bind or set it to NIL to treating those tags in the compatibility mode. 2. Symbols follow standard Lisp syntax: a package specifier is allowed in front of the name. By default, symbols are interned into the package stored in *template-package*, a new special variable. 3. To interpret the forms in run-time, the template-eval was introduced. It is a simple evaluator akin to the standard eval function except for: - A limited number of special-forms is supported, namely: IF WHEN(Continue reading)
RSS Feed