From sscholl at common-lisp.net Wed Jun 15 06:53:57 2005
From: sscholl at common-lisp.net (Stefan Scholl)
Date: Wed, 15 Jun 2005 08:53:57 +0200
Subject: [cl-emb-devel] New release CL-EMB 0.3.2
Message-ID: <20050615065357.GR9758@parsec.no-spoon.de>
New release CL-EMB 0.3.2
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:
- Bugfix regarding the template tags @include and @call
The generated code wasn't correct after the API changes
in 0.3.0
From sscholl at common-lisp.net Thu Jun 16 06:42:11 2005
From: sscholl at common-lisp.net (Stefan Scholl)
Date: Thu, 16 Jun 2005 08:42:11 +0200
Subject: [cl-emb-devel] Now on Gmane
Message-ID: <20050616064211.GY9758@parsec.no-spoon.de>
The list cl-emb-devel can now be found on Gmane:
gmane.lisp.cl-emb.devel
From sscholl at common-lisp.net Mon Jun 20 13:54:37 2005
From: sscholl at common-lisp.net (Stefan Scholl)
Date: Mon, 20 Jun 2005 15:54:37 +0200
Subject: [cl-emb-devel] New release CL-EMB 0.4.0 (API CHANGES!)
Message-ID: <20050620135437.GD16426@parsec.no-spoon.de>
New release CL-EMB 0.4.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> (asdf:operate 'asdf:load-op :asdf-install)
CL-USER> (asdf-install:install :cl-emb)
Changes:
- Extended way to access environment (the supplied plist)
with template tags.
E.g.: <% @var foo/bar %>
--> Like accessing (GETF (GETF ENV :FOO) :BAR)
When your're inside a nested loop you can access the
elements of the toplevel by starting the parameter with
a slash.
CL-USER> (emb:register-emb "test11" "<% @loop bands %>Band: <% @var band %> (Genre: <% @var /genre %>)
<% @endloop %>")
#
CL-USER> (emb:execute-emb "test11" :env '(:genre "Rock" :bands ((:band "Queen") (:band "The Rolling Stones") (:band "ZZ Top"))))
"Band: Queen (Genre: Rock)
Band: The Rolling Stones (Genre: Rock)
Band: ZZ Top (Genre: Rock)
"
CL-USER> (emb:register-emb "test12" "<% @repeat /foo/bar/count %>*<% @endrepeat %>")
#
CL-USER> (emb:execute-emb "test12" :env '(:foo (:bar (:count 42))))
"******************************************"
From sscholl at common-lisp.net Mon Jun 20 14:13:04 2005
From: sscholl at common-lisp.net (Stefan Scholl)
Date: Mon, 20 Jun 2005 16:13:04 +0200
Subject: [cl-emb-devel] New release CL-EMB 0.4.0 (API CHANGES!)
In-Reply-To: <20050620135437.GD16426@parsec.no-spoon.de>
References: <20050620135437.GD16426@parsec.no-spoon.de>
Message-ID: <20050620141304.GG16426@parsec.no-spoon.de>
OK, no API changes. Just the wrong mail template. :-}