From: Matt Wette <mwette@alumni.caltech.edu>
To: guile-user@gnu.org
Subject: Re: syncase code issue 1.8.8 -> 2.0.11
Date: Thu, 18 Sep 2014 20:54:56 -0700 [thread overview]
Message-ID: <6960BFD4-6C31-42E7-A880-033BAFBC6CC8@alumni.caltech.edu> (raw)
In-Reply-To: <d0e1477aea0c324a5bdec3ddc850c7fd.squirrel@mail.alumni.caltech.edu>
[-- Attachment #1: Type: text/plain, Size: 561 bytes --]
I found the root bug, I think, flagged by this message:
scheme@(guile-user)> (define-tokenizer tokiz ("[a-z]+" #\a))
While compiling expression:
ERROR: build-constant-store: unrecognized object #<procedure make-regexp (_ . _)>
I was putting procedure-objects in the macro when I should have been putting in syntax.
works:
(list
(datum->syntax (car cz) 'make-regexp)
(string-append
"^" (syntax->datum (car cz)))))
broken (but worked in guile 1.8.8):
(list
make-regexp
(list string-append "^" (car cz))))
Matt
[-- Attachment #2: Type: text/html, Size: 1296 bytes --]
next prev parent reply other threads:[~2014-09-19 3:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-18 14:08 syncase code issue 1.8.8 -> 2.0.11 mwette
2014-09-19 3:54 ` Matt Wette [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-09-18 1:18 Matt Wette
2014-09-18 7:49 ` Panicz Maciej Godek
2014-09-18 10:20 ` Taylan Ulrich Bayirli/Kammer
2014-09-18 12:35 ` Matt Wette
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6960BFD4-6C31-42E7-A880-033BAFBC6CC8@alumni.caltech.edu \
--to=mwette@alumni.caltech.edu \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).