From seano at cs.ucsd.edu Sat Apr 3 05:29:24 2004 From: seano at cs.ucsd.edu (Sean O'Rourke) Date: Fri, 02 Apr 2004 21:29:24 -0800 Subject: [cl-interpol-devel] [PATCH] bugfix and "feature" Message-ID: This patch does 2 things (with tests): * Fixes a bug where e.g. "123${x}" didn't get expanded correctly, by adding a needed copy-sequence. * Adds an option *optional-delimiters-p* that allows you to use the syntax #?"$x 123", where 'x' is interpolated without brackets, and delimited by whitespace. /s -------------- next part -------------- A non-text attachment was scrubbed... Name: interpol.patch Type: text/x-patch Size: 3411 bytes Desc: not available URL: From edi at agharta.de Sat Apr 3 19:36:29 2004 From: edi at agharta.de (Edi Weitz) Date: Sat, 03 Apr 2004 21:36:29 +0200 Subject: [cl-interpol-devel] [PATCH] bugfix and "feature" In-Reply-To: (Sean O'Rourke's message of "Fri, 02 Apr 2004 21:29:24 -0800") References: Message-ID: Hi Sean! Thanks for the patch! On Fri, 02 Apr 2004 21:29:24 -0800, "Sean O'Rourke" wrote: > This patch does 2 things (with tests): > > * Fixes a bug where e.g. "123${x}" didn't get expanded correctly, by > adding a needed copy-sequence. Looks like you sent a patch against 0.1.0. I'm pretty sure this has been fixed in 0.1.1 which was released about four months ago. > * Adds an option *optional-delimiters-p* that allows you to use the > syntax #?"$x 123", where 'x' is interpolated without brackets, and > delimited by whitespace. If I apply your patch against the 0.1.0 release this new feature doesn't work for me - test.lisp barfs on CMUCL and LW. Which Lisp did you develop this with? FWIW, I had similar functionality in my first (unpublished) version of CL-INTERPOL but gave up on this due to portability reasons. You might want to take a look at the following c.l.l thread: Thanks, Edi.