Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #17514
| From | "Ed" <invalid@nospam.com> |
|---|---|
| Newsgroups | comp.lang.forth |
| Subject | Re: "comus" words |
| Date | 2012-11-24 12:14 +1100 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <k8p736$hji$1@speranza.aioe.org> (permalink) |
| References | (4 earlier) <2012Nov20.112219@mips.complang.tuwien.ac.at> <k8iq9s$eap$1@speranza.aioe.org> <2012Nov21.163409@mips.complang.tuwien.ac.at> <k8moln$phl$1@speranza.aioe.org> <DtudnT2L-MpEmjLNnZ2dnUVZ_tidnZ2d@supernews.com> |
Elizabeth D. Rather wrote: > On 11/22/12 4:56 PM, Ed wrote: > > Anton Ertl wrote: > ... > >>>> There is no need to "seek to exclude implementations from using WORD" > >>>> when implementing S". WORD is so limited that it excludes itself, at > >>>> least from sensible and correct implementations. E.g., > >>>> > >>>> S" " . DROP > >>>> > >>>> is a standard program and should print 0. > >>> > >>> I would say the result is ambiguous and therefore not a '94 portable > >>> program. > >> > >> There is no such ambiguous condition in the specification of S". > > > > Neither do S" or ." specify strings need to be preceded with a space. > > > > Do you really need a Forth Standard to tell you that generating null > > strings with S" or ." is unnecessary? > > The point is not that S" or ." specify strings which need to be preceded > by a space, but that the standard Forth interpreter delimiter is a > space, so that S" and ." need to be *followed* by a space in order to be > recognized as Forth words. Indeed it was the point. It was intended to show how one may elicit characteristics, possibly never intended, simply by reading a specification in isolation. > .. > > Chuck considered *practical* needs when he designed Forth. It didn't > > concern him in the least that character and string literals in Forth didn't > > appear, or behave like, those in other languages. He had better things > > to do. > > In fact, many people have coped with this requirement for a delimiting > space for many years, and survived the ordeal with remarkably little trauma. The delimiting space is one aspect of Forth quoted strings. The empty string case is another. Do you agree with Anton that Forth-94 S" ." .( ( etc is only not permitted to return an empty string but is required to do so? I note someone has already declared the answer here: http://rosettacode.org/wiki/Empty_string
Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
"comus" words "Rod Pemberton" <do_not_have@notemailnotz.cnm> - 2012-11-18 20:55 -0500
Re: "comus" words "Elizabeth D. Rather" <erather@forth.com> - 2012-11-18 16:28 -1000
Re: "comus" words "Ed" <invalid@nospam.com> - 2012-11-19 20:14 +1100
Re: "comus" words Alex McDonald <blog@rivadpm.com> - 2012-11-19 07:20 -0800
Re: "comus" words "Ed" <invalid@nospam.com> - 2012-11-20 16:30 +1100
Re: "comus" words anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2012-11-20 10:22 +0000
Re: "comus" words "Ed" <invalid@nospam.com> - 2012-11-22 01:59 +1100
Re: "comus" words Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-11-21 09:34 -0600
Re: "comus" words anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2012-11-21 15:34 +0000
Re: "comus" words "Ed" <invalid@nospam.com> - 2012-11-23 13:56 +1100
Re: "comus" words "Elizabeth D. Rather" <erather@forth.com> - 2012-11-22 19:21 -1000
Re: "comus" words "Ed" <invalid@nospam.com> - 2012-11-24 12:14 +1100
Re: "comus" words "Elizabeth D. Rather" <erather@forth.com> - 2012-11-23 17:21 -1000
Re: "comus" words "Ed" <invalid@nospam.com> - 2012-11-25 18:37 +1100
Re: "comus" words Alex McDonald <blog@rivadpm.com> - 2012-11-25 02:38 -0800
Re: "comus" words Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-11-25 05:11 -0600
Re: "comus" words Alex McDonald <blog@rivadpm.com> - 2012-11-25 03:33 -0800
Re: "comus" words Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-11-25 05:45 -0600
Re: "comus" words Alex McDonald <blog@rivadpm.com> - 2012-11-25 10:47 -0800
Re: "comus" words Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-11-25 16:05 -0600
Re: "comus" words Alex McDonald <blog@rivadpm.com> - 2012-11-26 04:06 -0800
Re: "comus" words albert@spenarnc.xs4all.nl (Albert van der Horst) - 2012-11-26 15:12 +0000
Re: "comus" words "Rod Pemberton" <do_not_have@notemailnotz.cnm> - 2012-11-26 04:56 -0500
Re: "comus" words Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-11-26 05:16 -0600
Re: "comus" words Alex McDonald <blog@rivadpm.com> - 2012-11-26 03:51 -0800
Re: "comus" words "Rod Pemberton" <do_not_have@notemailnotz.cnm> - 2012-11-27 07:29 -0500
Re: "comus" words Alex McDonald <blog@rivadpm.com> - 2012-11-27 11:05 -0800
Re: "comus" words "Rod Pemberton" <do_not_have@notemailnotz.cnm> - 2012-11-28 07:09 -0500
Re: "comus" words Alex McDonald <blog@rivadpm.com> - 2012-11-28 10:13 -0800
Re: "comus" words "Rod Pemberton" <do_not_have@notemailnotz.cnm> - 2012-11-29 06:09 -0500
Re: "comus" words Alex McDonald <blog@rivadpm.com> - 2012-11-29 03:22 -0800
Re: "comus" words Peter Knaggs <pjk@bcs.org.uk> - 2012-11-29 21:32 +0000
Re: "comus" words "Ed" <invalid@nospam.com> - 2012-11-27 12:44 +1100
Re: "comus" words Coos Haak <chforth@hccnet.nl> - 2012-11-27 17:59 +0100
Re: "comus" words "Ed" <invalid@nospam.com> - 2012-11-29 12:53 +1100
Re: "comus" words Coos Haak <chforth@hccnet.nl> - 2012-11-29 10:59 +0100
Re: "comus" words Mark Wills <forthfreak@gmail.com> - 2012-11-29 02:22 -0800
Re: "comus" words Alex McDonald <blog@rivadpm.com> - 2012-11-29 02:58 -0800
Re: "comus" words Andrew Haley <andrew29@littlepinkcloud.invalid> - 2012-11-29 05:53 -0600
Re: "comus" words "Elizabeth D. Rather" <erather@forth.com> - 2012-11-29 09:38 -1000
Re: "comus" words Andy Valencia <vandys@vsta.org> - 2012-11-29 13:10 +0000
Re: "comus" words anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2012-11-29 13:52 +0000
Re: "comus" words Mark Wills <forthfreak@gmail.com> - 2012-11-29 06:09 -0800
Re: "comus" words Andy Valencia <vandys@vsta.org> - 2012-11-29 15:43 +0000
Re: "comus" words Coos Haak <chforth@hccnet.nl> - 2012-11-29 21:01 +0100
Re: "comus" words Bernd Paysan <bernd.paysan@gmx.de> - 2012-11-29 23:17 +0100
Re: "comus" words "Elizabeth D. Rather" <erather@forth.com> - 2012-11-29 17:01 -1000
Re: "comus" words "Ed" <invalid@nospam.com> - 2012-11-30 08:30 +1100
Re: "comus" words Coos Haak <chforth@hccnet.nl> - 2012-11-29 23:06 +0100
Re: "comus" words "Ed" <invalid@nospam.com> - 2012-11-30 16:23 +1100
Re: "comus" words Alex McDonald <blog@rivadpm.com> - 2012-11-29 03:14 -0800
Re: "comus" words "Ed" <invalid@nospam.com> - 2012-11-30 08:31 +1100
Re: "comus" words Alex McDonald <blog@rivadpm.com> - 2012-11-29 14:41 -0800
Re: "comus" words "Ed" <invalid@nospam.com> - 2012-11-30 16:19 +1100
Re: "comus" words Alex McDonald <blog@rivadpm.com> - 2012-11-30 02:31 -0800
Re: "comus" words "Ed" <invalid@nospam.com> - 2012-12-04 03:53 +1100
Re: "comus" words Alex McDonald <blog@rivadpm.com> - 2012-12-03 10:45 -0800
Re: "comus" words "Ed" <invalid@nospam.com> - 2012-12-06 18:31 +1100
Re: "comus" words Alex McDonald <blog@rivadpm.com> - 2012-12-06 01:37 -0800
Re: "comus" words albert@spenarnc.xs4all.nl (Albert van der Horst) - 2012-12-06 13:31 +0000
Re: "comus" words Alex McDonald <blog@rivadpm.com> - 2012-12-06 07:07 -0800
Re: "comus" words "Elizabeth D. Rather" <erather@forth.com> - 2012-11-29 17:04 -1000
Re: "comus" words Alex McDonald <blog@rivadpm.com> - 2012-11-30 02:29 -0800
Re: "comus" words Mark Wills <forthfreak@gmail.com> - 2012-11-19 05:33 -0800
Re: "comus" words anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2012-11-19 14:45 +0000
Re: "comus" words Alex McDonald <blog@rivadpm.com> - 2012-11-19 07:43 -0800
Re: "comus" words Alex McDonald <blog@rivadpm.com> - 2012-11-19 07:45 -0800
Re: "comus" words oh2aun@gmail.com - 2012-11-22 21:10 -0800
csiph-web