1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-09 21:40:33 +02:00
guile/module
Andy Wingo 9b0975f1dc add syntax-local-binding
* module/ice-9/boot-9.scm (syntax-local-binding): New binding.

* module/ice-9/psyntax.scm: Locally define a fluid that holds the
  "transformer environment".  with-transformer-environment calls a
  procedure with the transformer environment, or raises an error if
  called outside the extent of a transformer.  Bind
  transformer-environment in expand-macro.
  (resolve-identifier): Backport this helper from master.
  (syntax-local-binding): New procedure to return binding information of
  a bound identifier (a lexical, macro, a pattern variable, a displaced
  lexical, a global, or some other form).

* module/ice-9/psyntax-pp.scm: Regenerate.

* doc/ref/api-macros.texi (Syntax Transformer Helpers): Add docs for
  syntax-local-binding, and syntax-source, and move some other
  descriptions to this new section.
2012-01-19 12:38:27 +01:00
..
ice-9 add syntax-local-binding 2012-01-19 12:38:27 +01:00
language Don't diverge when serializing cyclic lists during compilation 2012-01-14 04:39:00 -05:00
oop fix some cache consistency issues with goops and extended generics 2011-09-02 13:17:19 +02:00
rnrs Fix R6RS `fold-left' so the accumulator is the first argument. 2011-11-01 01:11:46 +01:00
scripts Add a --target' option to guild compile'. 2011-11-22 00:22:46 +01:00
srfi Placate a number of `syntax-check' verifications. 2012-01-05 23:38:10 +01:00
sxml more define-syntax-rule usage 2011-09-02 11:36:14 +02:00
system Have `cpu-word-size' error out on unknown CPUs; add support for MIPSEL. 2012-01-09 23:25:02 +01:00
texinfo Use default value for make-fluid in Scheme files 2011-11-23 12:54:09 +01:00
web permit non-date values for Expires header 2012-01-09 23:36:59 +01:00
Makefile.am Allow $GUILE_FOR_BUILD to use its own environment when cross-compiling. 2011-11-23 15:29:18 +01:00
rnrs.scm Enhance transcoder-related functionality of `(rnrs io ports)' 2011-03-13 23:14:43 +01:00
statprof.scm add gcprof 2011-05-05 11:43:12 +02:00
texinfo.scm more define-syntax-rule usage 2011-09-02 11:36:14 +02:00