[gambit-list] Black Hole and Termite

Jeremie Lasalle Ratelle pouexmachinax at gmail.com
Thu Jul 16 14:35:46 EDT 2009


I corrected the bug. Just had to put the vector case in strip location. Here
is the patch

On Thu, Jul 16, 2009 at 1:40 PM, Jeremie Lasalle Ratelle <
pouexmachinax at gmail.com> wrote:

> I implemented vector pattern matching in termite some time ago. I'm
> trying to port my code in the black hole version of termite but there is
> a problem with vectors in macro code.
>
> Here is an example
>
> (define-syntax macro-test
>   (sc-macro-transformer
>    (lambda (form env)
>      (pp form)
>      `(begin))))
>
> > (macro-test '(1 2 3))
> (macro-test '(1 2 3))
>
> > (macro-test #(1 2 3))
> (macro-test #(#(#(source1) 1 (console) 917509) #(#(source1) 2 (console)
> 1048581) #(#(source1) 3 (console) 1179653)))
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20090716/7aad1e66/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Adds-vector-case-to-location-info-stripping.patch
Type: text/x-patch
Size: 1638 bytes
Desc: not available
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20090716/7aad1e66/attachment.bin>


More information about the Gambit-list mailing list