From maciekp at japhy.fnord.org Sat Mar 1 15:39:06 2008 From: maciekp at japhy.fnord.org (Maciej Pasternacki) Date: Sat, 01 Mar 2008 16:39:06 +0100 Subject: [cl-who-devel] Re: Macroexpansion of with-html-output body? In-Reply-To: <87zlu948fi.fsf@esculap.gateway.2wire.net> References: <47A5E8BD.9080709@cunningham.net> <87zlu948fi.fsf@esculap.gateway.2wire.net> Message-ID: <1204385946.6852.9.camel@localhost> On Sun, 2008-02-10 at 00:44 -0600, Victor Kryukov wrote: > Below is my attempt to implement macroexpansion capability in > with-html-output body. Before sending it formally as a patch I want to > get your feedback on the implementation and also ask for some testing. Works for me. No CL-WHO code base on my side, but macroexpanding HTML makes enables me to use CL-WHO instead of YACLML (and, actually, allowed me to write a drop-in replacement for using YACLML syntax with a "<" package -- I like it more than CL-WHO's keywords since with (<:a :href "...") tags stand out visually). +1 for including this or similar functionality in CL-WHO. This probably would make me switch -- without it, YACLML is still more programmable than CL-WHO. Regards, Maciej. -- -><- Maciej 'japhy' Pasternacki -><- http://www.pasternacki.net/ -><- From danielgackle at gmail.com Sat Mar 1 18:28:35 2008 From: danielgackle at gmail.com (Daniel Gackle) Date: Sat, 1 Mar 2008 11:28:35 -0700 Subject: [cl-who-devel] Re: Macroexpansion of with-html-output body? In-Reply-To: <1204385946.6852.9.camel@localhost> References: <47A5E8BD.9080709@cunningham.net> <87zlu948fi.fsf@esculap.gateway.2wire.net> <1204385946.6852.9.camel@localhost> Message-ID: <57952f8b0803011028h1ce57f7by7abef1e8dab131b8@mail.gmail.com> < This probably would make me switch > Me too. I started on CL-WHO but switched to LML2 for the same reason. Dan On Sat, Mar 1, 2008 at 8:39 AM, Maciej Pasternacki wrote: > On Sun, 2008-02-10 at 00:44 -0600, Victor Kryukov wrote: > > > Below is my attempt to implement macroexpansion capability in > > with-html-output body. Before sending it formally as a patch I want to > > get your feedback on the implementation and also ask for some testing. > > Works for me. No CL-WHO code base on my side, but macroexpanding HTML > makes enables me to use CL-WHO instead of YACLML (and, actually, allowed > me to write a drop-in replacement for using YACLML syntax with a "<" > package -- I like it more than CL-WHO's keywords since with (<:a :href > "...") tags stand out visually). > > +1 for including this or similar functionality in CL-WHO. This probably > would make me switch -- without it, YACLML is still more programmable > than CL-WHO. > > Regards, > Maciej. > > -- > -><- Maciej 'japhy' Pasternacki -><- http://www.pasternacki.net/ -><- > > > _______________________________________________ > cl-who-devel site list > cl-who-devel at common-lisp.net > http://common-lisp.net/mailman/listinfo/cl-who-devel > -------------- next part -------------- An HTML attachment was scrubbed... URL: From victor.kryukov at gmail.com Sun Mar 2 17:29:47 2008 From: victor.kryukov at gmail.com (Victor Kryukov) Date: Sun, 02 Mar 2008 11:29:47 -0600 Subject: [cl-who-devel] Re: Macroexpansion of with-html-output body? References: <47A5E8BD.9080709@cunningham.net> <87zlu948fi.fsf@esculap.gateway.2wire.net> Message-ID: Victor Kryukov writes: > Below is my attempt to implement macroexpansion capability in > with-html-output body. Before sending it formally as a patch I want to > get your feedback on the implementation and also ask for some testing. I created a public git repository to make it easier to try "macroexpand" extension. You can get it with git at git://tunespresso.com/cl-who.git Original, untouched cl-who version 0.11 is in master branch, and my extension is in macroexpand branch. To use it, install git and execute the following commands: git clone git://tunespresso.com/cl-who.git (1) git checkout origin/macroexpand (2) (1) clones git repository into cl-who subdirectory of the current directory (2) checks out macroexpand branch To switch back to the original cl-who, use the following command: git checkout master Branch switching is done in place, so you don't have to modify your .asd links, etc. Best Regards, Victor. -- My blog: http://macrodefinition.blogspot.com From victor.kryukov at gmail.com Sun Mar 2 17:45:12 2008 From: victor.kryukov at gmail.com (Victor Kryukov) Date: Sun, 02 Mar 2008 11:45:12 -0600 Subject: [cl-who-devel] Re: Macroexpansion of with-html-output body? References: <47A5E8BD.9080709@cunningham.net> <87zlu948fi.fsf@esculap.gateway.2wire.net> Message-ID: Victor Kryukov writes: > Victor Kryukov writes: > >> Below is my attempt to implement macroexpansion capability in >> with-html-output body. Before sending it formally as a patch I want to >> get your feedback on the implementation and also ask for some testing. > > I created a public git repository to make it easier to try > "macroexpand" extension. You can get it with git at > > git://tunespresso.com/cl-who.git > > Original, untouched cl-who version 0.11 is in master branch, and my > extension is in macroexpand branch. > > To use it, install git and execute the following commands: > > git clone git://tunespresso.com/cl-who.git (1) > git checkout origin/macroexpand (2) > > (1) clones git repository into cl-who subdirectory of the current > directory (1.5) cd cl-who/ > (2) checks out macroexpand branch > > To switch back to the original cl-who, use the following command: while in cl-who directory tracked by git > git checkout master > > Branch switching is done in place, so you don't have to modify your > .asd links, etc. Regards, Victor.