Google Groups Home
Help | Sign in
Message from discussion RfD: Escaped Strings
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Anton Ertl  
View profile
 More options 3 Nov 2007, 17:40
Newsgroups: comp.lang.forth
From: an...@mips.complang.tuwien.ac.at (Anton Ertl)
Date: Sat, 03 Nov 2007 17:40:30 GMT
Local: Sat 3 Nov 2007 17:40
Subject: Re: RfD: Escaped Strings

m...@iae.nl (Marcel Hendrix) writes:
>>     \    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?

The proposal does not define what the system should do, so the use by
a program is an ambiguous condition.

>S\" is not used by any systems not represented in the Forth 200x effort.
>IMHO it is a bit silly (for a standards effort) not to mention all \<char>
>codes in use today

That would require that all systems to support all these codes in
order to support the proposal, although some are redundant.

>and/or to allow future vendor-specific extensions that
>will break portability of code and require work-arounds.

The standard (and such proposals) describe only the supported
interface between programs and systems.  There is no mechanism there
that forbids systems to have extensions in the areas not specified by
the standard (how could such a mechanism work?).

We can only hope that system implementors are sensible and do not
squat with lots of system-specific extensions on undefined codes.
OTOH, if they implement a common extension across many systems, that
could establkish common practice for the next standard.

- anton
--
M. Anton Ertl  http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
     New standard: http://www.forth200x.org/forth200x.html
   EuroForth 2007: http://www.complang.tuwien.ac.at/anton/euroforth2007/


    Reply to author    Forward  
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.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google