From sscholl at common-lisp.net Wed Oct 13 12:54:56 2004 From: sscholl at common-lisp.net (Stefan Scholl) Date: Wed, 13 Oct 2004 14:54:56 +0200 Subject: [cl-emb-devel] Not dead! Message-ID: <416D25A0.7030909@common-lisp.net> Maybe Lisp is dead. But CL-EMB is alive! :-) From sscholl at common-lisp.net Mon Oct 18 21:36:53 2004 From: sscholl at common-lisp.net (Stefan Scholl) Date: Mon, 18 Oct 2004 23:36:53 +0200 Subject: [cl-emb-devel] New release CL-EMB 0.2.0 Message-ID: <20041018213653.GA29865@parsec.no-spoon.de> New release CL-EMB 0.2.0 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> (require :asdf-install) CL-USER> (asdf-install:install :cl-emb) Changes: - Debugging: CL-EMB:REGISTER-EMB saves the generated lambda form when CL-EMB:*DEBUG* is T. You may pretty print this form with CL-EMB:PPRINT-EMB-FUNCTION CL-USER> (emb:register-emb "test7" " - <% @var foo -escape uri %> - ") # CL-USER> (emb:pprint-emb-function "test7") (LAMBDA (&OPTIONAL CL-EMB-INTERN::ENV) (WITH-OUTPUT-TO-STRING (*STANDARD-OUTPUT*) (PROGN (WRITE-STRING " - ") (FORMAT T "~A" (CL-EMB::ECHO (GETF CL-EMB-INTERN::ENV :FOO) :ESCAPE :URI)) (WRITE-STRING " - ")))) ; No value - New template tag @set can be used to set special variables and establish a default for the rest of the code. CL-USER> (emb:register-emb "test8" "<% @set escape=xml %>--<% @var hey %>--") # CL-USER> (emb:register-emb "test9" "--<% @var hey %>--<% @call test8 %>--<% @var hey %>--") # CL-USER> (emb:execute-emb "test9" '(:hey "5>2")) "--5>2----5>2----5>2--" From sscholl at common-lisp.net Tue Oct 19 11:57:56 2004 From: sscholl at common-lisp.net (Stefan Scholl) Date: Tue, 19 Oct 2004 13:57:56 +0200 Subject: [cl-emb-devel] CL-EMB on Freshmeat.net Message-ID: <41750144.3010002@common-lisp.net> Hi! I've submitted the project to freshmeat.net and now there's a nice project page: http://freshmeat.net/projects/cl-emb/ It's one of the 47 (at this moment) projects with the programming language Common Lisp: http://freshmeat.net/browse/1028/ Regards to all users, Stefan