guile-devel
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
syntax/loc
From
:
Stefan Israelsson Tampe
Subject
:
syntax/loc
Date
:
Sun, 18 Mar 2012 16:05:47 +0100
Hi,
It is possible to get syntax location information via syntax-source, but trying to implement
something like
(define-syntax syntax/loc
(syntax-rules ()
((_ src stx)
(let ((ret (syntax stx)))
(set-syntax-source ret (syntax-source src))
ret))))
I fail due to not identifying what set-syntax-source should be. What's the silution?
(Currently I translate syntax/loc to a direct syntax)
/Regards
Stefan
reply via email to
[Prev in Thread]
Current Thread
[Next in Thread]
syntax/loc
,
Stefan Israelsson Tampe
<=
Prev by Date:
guile-contract guile-syntax-parse and clambda
Next by Date:
contract-out
Previous by thread:
guile-contract guile-syntax-parse and clambda
Next by thread:
contract-out
Index(es):
Date
Thread