source: project/wiki/eggref/4/char-set-literals @ 37627

Last change on this file since 37627 was 37627, checked in by wasamasa, 6 months ago

Fix link

File size: 2.7 KB
Line 
1[[tags: egg]]
2
3== char-set-literals
4
5[[toc:]]
6
7=== Description
8
9A reader extension for
10[[http://wiki.call-cc.org/man/4/Unit%20srfi-14|SRFI 14]] character set
11literals based on that of
12[[http://practical-scheme.net/gauche/man/gauche-refe_51.html#index-_0023_005bchar_002dset_002dspec_005d|Gauche]]. Note
13that only a subset of that syntax is currently supported (individual
14characters and character ranges).
15
16=== Syntax
17
18<read>#[char-set-spec]</read>
19
20{{char-set-spec}} is a sequence of characters to be included in the
21character set. The following special sequences are supported:
22
23; {{x-y}} : A range of characters from {{x}} to {{y}}, inclusive.
24; {{\-}} : The character {{-}}
25; {{\\}} : The character {{\}}
26; {{\]}} : The character {{]}}
27
28Any other backslash escape sequence is a syntax error.
29
30=== About this egg
31
32==== Source
33
34The
35[[https://code.call-cc.org/svn/chicken-eggs/release/4/char-set-literals/|source
36code is hosted in CHICKEN's subversion repository]]. Please send
37patches through the
38[[https://lists.nongnu.org/mailman/listinfo/chicken-hackers|chicken-hackers
39mailing list]].
40
41==== Author
42
43[[/users/moritz-heidkamp|Moritz Heidkamp]]
44
45==== License
46
47  Copyright (C) 2011-2015 Moritz Heidkamp
48 
49  All rights reserved.
50 
51  Redistribution and use in source and binary forms, with or without
52  modification, are permitted provided that the following conditions are met:
53      * Redistributions of source code must retain the above copyright
54        notice, this list of conditions and the following disclaimer.
55      * Redistributions in binary form must reproduce the above copyright
56        notice, this list of conditions and the following disclaimer in the
57        documentation and/or other materials provided with the distribution.
58      * Neither the name of the <organization> nor the
59        names of its contributors may be used to endorse or promote products
60        derived from this software without specific prior written permission.
61 
62  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
63  ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
64  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
65  DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
66  DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
67  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
68  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
69  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
70  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
71  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Note: See TracBrowser for help on using the repository browser.