Newsgroups: comp.lang.forth
From: Elizabeth D Rather <erather...@forth.com>
Date: Wed, 31 Oct 2007 11:09:34 -1000
Local: Wed 31 Oct 2007 21:09
Subject: Re: RfD: Escaped Strings
Marcel Hendrix wrote: I don't have any strong feelings about this particular instance of an > Peter Knaggs <pkna...@bournemouth.ac.uk> wrote Re: RfD: Escaped Strings S\" (version 5) > [..] >> Translation rules: >> Characters are processed one at a time and appended to the >> compiled string. If the character is a '\' character it is >> processed by parsing and substituting one or more characters >> as follows, where the character after the backslash is case >> sensitive: >> \a BEL (alert, ASCII 7) > [..] >> \\ backslash itself >> \ An ambiguous condition exists if a \ is placed before any >> character, other than those defined in 6.2.xxxx S\". > [..] > Why was it necessary to make this an ambiguous condition? > A general solution could be to require that a deferred (and standardized) "ambiguous condition", but want to suggest that a more appropriate way of looking at it is that the proposed standard would *guarantee* success with the listed codes, but make no guarantees about others. That's a more positive view than saying that codes not on the list are "forbidden". In general, that's how most "ambiguous conditions" are intended: some, of course, are errors, but others are merely cases in which no specific behavior is mandated. IMO hooks such as you suggest shouldn't be mandated, but implementors Cheers, -- "Forth-based products and Services for real-time You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||