diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-01-23 07:40:52 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-01-23 07:40:52 -0800 |
commit | dac211e5abde6f1bd9f0cc4300508bce8bf6968b (patch) | |
tree | 94708ea64086efec797b121d0271a150c4efe424 /stream.h | |
parent | ff7890e39f2fee4920a85c85248ea65ce8f5510f (diff) | |
download | txr-dac211e5abde6f1bd9f0cc4300508bce8bf6968b.tar.gz txr-dac211e5abde6f1bd9f0cc4300508bce8bf6968b.tar.bz2 txr-dac211e5abde6f1bd9f0cc4300508bce8bf6968b.zip |
matcher: add support for range objects.
* share/txr/stdlib/match.tl (compile-atom-match): Handle range
type, via transformation to rcons operator and
compile-range-mach.
(compile-range-match): New function.
(compile-match): Hook in compile-range-match for @(rcons).
(non-triv-pat-p): Handle range case.
* txr.1: Documented.
Diffstat (limited to 'stream.h')
0 files changed, 0 insertions, 0 deletions