[gambit-list] Black Hole and Termite

Jeremie Lasalle Ratelle pouexmachinax at gmail.com
Thu Jul 16 13:40:52 EDT 2009


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/de84ba4e/attachment.htm>


More information about the Gambit-list mailing list