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
Hi Sean!
Thanks for the patch!
On Fri, 02 Apr 2004 21:29:24 -0800, "Sean O'Rourke" seano@cs.ucsd.edu 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:
http://groups.google.com/groups?threadm=87n0bw25id.fsf%40bird.agharta.de
Thanks, Edi.
cl-interpol-devel@common-lisp.net