[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] GNU Guile branch, wip-source-info, created. v2.1.0-86-ge
From: |
Andy Wingo |
Subject: |
[Guile-commits] GNU Guile branch, wip-source-info, created. v2.1.0-86-ge0dda25 |
Date: |
Tue, 22 Jul 2014 10:16:39 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".
http://git.savannah.gnu.org/cgit/guile.git/commit/?id=e0dda25feafa899279015932aa0885b39b6c7d05
The branch, wip-source-info has been created
at e0dda25feafa899279015932aa0885b39b6c7d05 (commit)
- Log -----------------------------------------------------------------
commit e0dda25feafa899279015932aa0885b39b6c7d05
Author: Andy Wingo <address@hidden>
Date: Tue Jul 22 12:11:19 2014 +0200
Broken commit that propagates source
* module/ice-9/psyntax.scm: Broken commit that makes "wrap" always
return a syntax object. If it didn't there would be no way to
propagate source info to datums that are destructured by syntax-case.
Unfortunately there is some scoping issue that this breaks :(
commit d4c4aac7a077e4c5efd9928ca3706e57d169023d
Author: Andy Wingo <address@hidden>
Date: Mon Jul 21 17:14:17 2014 +0200
Better source tracking in psyntax.scm
* module/ice-9/psyntax.scm (source-properties*, source-map): New
helpers.
(source-wrap): Annotate the syntax object with source, in addition to
the contained value. This allows annotation of immediates and
symbols.
(source-annotation): Fall back to the annotation on the syntax object
itself, if available.
(expand): Add source argument. Adapt all callers.
(expand-expr, expand-call, expand-body): Use source-map to get better
source for call arguments, and body expressions.
($sc-dispatch): Attempt to propagate source information from list
spines down to the destructured syntax objects.
* module/ice-9/psyntax-pp.scm: Regenerate.
commit 00994072528212a238d2827089c40bef3a8ab76f
Author: Andy Wingo <address@hidden>
Date: Mon Jul 21 17:14:12 2014 +0200
`read' annotates non-head pairs of lists with source information
* libguile/read.c (scm_read_sexp): Attach source information to the
pairs in a list, not just the head. This should help get info for
more immediate values.
* test-suite/tests/srcprop.test: Add test.
-----------------------------------------------------------------------
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, wip-source-info, created. v2.1.0-86-ge0dda25,
Andy Wingo <=