Hmm,
The problems on master is not due to beeing a list a I thought. Is there
anything wrong with
(syntax-case x (integrate)
[(integrate predicate description)
(pk 'matched)
#'(make-integrate #'predicate
I tried, got, new errors. it looks like if we have
(syntax-case x () ((a b c) ...))
and if x is a list of syntax pattern then we do not match in master
but do match in stable-2.0
/stefan
;;; WARNING: compilation of
/home/stis/stis/src/guile-syntax-parse/syntax/parse/src/parse.scm failed:
;;; ERR
On Tue 07 Feb 2012 22:58, Stefan Israelsson Tampe
writes:
> Just use #'f instead of (datum->syntax #'name 'f).
>
> I would love to use this, but when I tried that, the code failed in
> some cases, maybe because of the bugs you mensioned?
Try on master, perhaps?
Andy
--
http://wingolog.org
On Tue, Feb 7, 2012 at 10:37 PM, Andy Wingo wrote:
> On Sat 04 Feb 2012 21:31, Stefan Israelsson Tampe
> writes:
>
> > #'(begin
> > (define f fkn-definition)
> > (define-syntax name
> > (make-syntax-case-transformer
> >(make-stxclass
> > ..
On Sat 04 Feb 2012 21:31, Stefan Israelsson Tampe
writes:
> #'(begin
> (define f fkn-definition)
> (define-syntax name
> (make-syntax-case-transformer
> (make-stxclass
> ...
> (datum->syntax #'name 'f)
>
Hi all,
Things is going well with syntax parse and the part working is continuously
increasing
One question that I now struggeling is this.
I have a macro expansion that looks like
#'(begin
(define f fkn-definition)
(define-syntax name
(make-syntax-case-transformer
OK,
I have skiped the usage of structs to store data and just use clever lists
with similar api
as the structs so that syntax information can be pushed down to it. With
this I get a lot of
things working again and the codebase is much cleaner. I no longer do uggly
hack with
the syntax representati
On Wed 25 Jan 2012 21:37, Stefan Israelsson Tampe
writes:
> I got it working with an old version of guile but have problem with newest
> stable-2.0
What version did you get it working with? In a year there have only
been 25 commits to psyntax, and none of them should have changed
anything fund