From ... Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!212.74.64.35!colt.net!newsfeed.esat.net!nslave.kpnqwest.net!nloc.kpnqwest.net!nmaster.kpnqwest.net!nreader1.kpnqwest.net.POSTED!not-for-mail Newsgroups: comp.lang.lisp Subject: Re: Revisiting split-sequence and patterns References: <3215908980293864@naggum.net> Mail-Copies-To: never From: Erik Naggum Message-ID: <3215922508819020@naggum.net> Organization: Naggum Software, Oslo, Norway Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 28 Nov 2001 07:48:30 GMT X-Complaints-To: newsmaster@KPNQwest.no X-Trace: nreader1.kpnqwest.net 1006933710 193.71.66.49 (Wed, 28 Nov 2001 08:48:30 MET) NNTP-Posting-Date: Wed, 28 Nov 2001 08:48:30 MET Xref: archiver1.google.com comp.lang.lisp:21169 * Jeff Greif | Sometimes the tokens might be enclosed like this `some token' or [other | token] or {there exists this token}. The reason this is out of place is that these things naturally nest. | It may also be useful to specify the start and end delimiters in matching | pairs, so that "SELECT * FROM LISPERS WHERE NAME = 'Erik Naggum'" could | be treated as a single token in some circumstances where both single and | double-quote were allowed as multiple-escape delimiters, but starting | with double-quote meant you have to end with double-quote, and other | delimiting characters appearing inside the double quotes would not be | escapes. I already covered that. Please have another look: If there be more patterns of syntax design, another one would involve escaping a whole sequence of characters so they revert from (potentially) special to normal interpretation, using a single special character at --> BOTH ENDS of the sequence, and escaping that character and the escaping character inside the sequence with the same character that does this for a single character. All the escaping characters are discarded from the extracted token. Call this the multiple-escape mechanism. /// -- The past is not more important than the future, despite what your culture has taught you. Your future observations, conclusions, and beliefs are more important to you than those in your past ever will be. The world is changing so fast the balance between the past and the future has shifted.