New release CL-EMB 0.4.3
CL-EMB is a library to embed Common Lisp and special template tags into normal text files. Can be used for dynamically generated HTML pages.
You can download it from http://common-lisp.net/project/cl-emb/ or install with ASDF-Install.
CL-USER> (asdf:operate 'asdf:load-op :asdf-install) CL-USER> (asdf-install:install :cl-emb)
Changes:
- Faster file reading (fast slurping from http://www.emmett.ca/~sabetts/slurp.html)
- New template tag @insert for inserting (text) files.
Example:
CL-USER> (emb:register-emb "test13" "The file:<pre><% @insert textfile %></pre>") #<CL-EMB::EMB-FUNCTION {5894326D}> CL-USER> (emb:execute-emb "test13" :env '(:textfile "/etc/gentoo-release")) "The file:<pre>Gentoo Base System version 1.6.14 </pre>"