summaryrefslogtreecommitdiff
path: root/libguile/vm-engine.h
diff options
context:
space:
mode:
authorAndreas Rottmann <a.rottmann@gmx.at>2009-12-11 10:51:05 +0100
committerAndy Wingo <wingo@pobox.com>2009-12-11 10:57:29 +0100
commitaa3819aa343b0ba39b3e6ca4fbf90f15a8e36cdf (patch)
tree09da5ce1641a859027be5f433ce8de0ccfb155c9 /libguile/vm-engine.h
parente42573315bd70d514b92458a7644057cd3ac5757 (diff)
downloadguile-aa3819aa343b0ba39b3e6ca4fbf90f15a8e36cdf.tar.gz
add partial support for tail patterns in syntax-rules/syntax-case
I've prepared a patch that adds partial support for tail patterns. Things like the the SRFI-34 `guard' macro from [0] are supported, but you still can't combine dotted patterns with tail patterns, e.g. (syntax-rules (else) ((foo bar ... (else something) . rest) <TEMPLATE-HERE>)) will *not* work; there's the issue that one can't just transcribe the implementation of this feature from the latest version of psyntax, as I've done for non-dotted tail patterns, as it's implemented using a dotted pattern like the above. Alas! [0] <http://article.gmane.org/gmane.lisp.guile.devel/9442> * module/ice-9/psyntax.scm (syntax-case, $sc-dispatch): Add support for tail patterns, transcribed from the latest psyntax. * module/ice-9/psyntax-pp.scm: Regenerated. * test-suite/tests/syncase.test: Add tests for tail patterns.
Diffstat (limited to 'libguile/vm-engine.h')
0 files changed, 0 insertions, 0 deletions