Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #17548

Re: "comus" words

From Andrew Haley <andrew29@littlepinkcloud.invalid>
Subject Re: "comus" words
Newsgroups comp.lang.forth
References (8 earlier) <DtudnT2L-MpEmjLNnZ2dnUVZ_tidnZ2d@supernews.com> <k8p736$hji$1@speranza.aioe.org> <_9udnZB0GOraoC3NnZ2dnUVZ_uidnZ2d@supernews.com> <k8sht3$nig$1@speranza.aioe.org> <2fb1677a-8956-4382-9880-6415a85db5de@dg10g2000vbb.googlegroups.com>
Message-ID <bO2dnZM42qd5YSzNnZ2dnUVZ8uydnZ2d@supernews.com> (permalink)
Date 2012-11-25 05:11 -0600

Show all headers | View raw


Alex McDonald <blog@rivadpm.com> wrote:
> On Nov 25, 7:38?am, "Ed" <inva...@nospam.com> wrote:
>>     Table 2.1 - Parsed text abbreviations
>>
>>     ccc          a parsed sequence of arbitrary characters, excluding
>>                     the delimiter character
>>
>> As I read it S" is specified to parse and return ccc.  If ccc is
>> absent and nothing but delimiter characters are present as in the
>> case of S" " then the result is undefined.

Why?  Are you saying that a parsed sequence cannot be zero-length?
But 3.4.1, Parsing says " Unless otherwise noted, the number of
characters parsed may be from zero to the implementation-defined
maximum length of a counted string."  So that canot be true.

>> I apply a similar rationale to the specs for
>> ."  .(  .
>>
>> I note Forth-94  (  explicitly states the number of characters in ccc may
>> be zero which would break implementations using WORD.

Well, yes, or you'd have a special-case restriction on empty comments.

>> Make of it what you will.
>>
>>     6.1.0080
>>
>>     Execution: ( "ccc<paren>" -- )
>>
>>     The number of characters in ccc may be zero to the number of
>>     characters in the parse area.
> 
> 3.4.1 Parsing
> 
> Unless otherwise noted, the number of characters parsed may be from
> zero to the implementation-defined maximum length of a counted string.
> 
> What is not clear from the Forth200x spec is the address of a null
> string; is 0 0 allowed?

Does it matter?  Is there any standard program that might be affected
in any way?

Andrew.

Back to comp.lang.forth | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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