summaryrefslogtreecommitdiff
path: root/libguile/strings.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2012-01-15 17:51:02 +0100
committerAndy Wingo <wingo@pobox.com>2012-01-19 12:38:27 +0100
commit9b0975f1dc41ddd10d81fb5b0965b9e9a54ef37a (patch)
treed361ad2291377cf541f2a476b68b792734fc249c /libguile/strings.c
parent1ceeca0a76809248aa974685756e0f05c7f64200 (diff)
downloadguile-9b0975f1dc41ddd10d81fb5b0965b9e9a54ef37a.tar.gz
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.
Diffstat (limited to 'libguile/strings.c')
0 files changed, 0 insertions, 0 deletions