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


Groups > comp.lang.forth > #39534

Re: \s

From "HAA" <someone@microsoft.com>
Newsgroups comp.lang.forth
Subject Re: \s
Date 2015-06-03 15:10 +1000
Organization Aioe.org NNTP Server
Message-ID <mkm25m$urg$1@speranza.aioe.org> (permalink)
References <25fcb068-f469-4351-8d6c-1e9dfd803448@googlegroups.com> <1jnkxw39fip4e$.1ii54m7apdnsm.dlg@40tude.net>

Show all headers | View raw


Coos Haak wrote:
> ...
> I have
> : \S  stop on source nip >in ! ; immediate
>
> Where stop is a variable that is cleared by the include-file loop and
> tested after interpreting the line. Include-file closes the file as normal
> and finishes normally. This way senseless refills are not necessary,
> especially in the time computers ran in the MHz range.

"senseless refills" occur all the time.  Consider the number of comment
lines in a typical forth source.  Time spent reading and discarding these
will far outweigh anything saved by a 'smart' but occasional \S.

I assume you use STOP for things other than \S.  In that case your
implementation appears to be both short and appropriate.


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


Thread

\s josv@planet.nl - 2015-05-30 07:41 -0700
  Re: \s hughaguilar96@gmail.com - 2015-05-30 09:01 -0700
    Re: \s josv@planet.nl - 2015-05-30 09:59 -0700
      Re: \s hughaguilar96@gmail.com - 2015-05-30 11:45 -0700
        Re: \s josv@planet.nl - 2015-05-30 13:06 -0700
  Re: \s Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2015-05-30 20:32 +0100
    Re: \s hughaguilar96@gmail.com - 2015-05-31 21:48 -0700
      Re: \s Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2015-06-01 08:27 +0100
      Re: \s hughaguilar96@gmail.com - 2015-06-09 17:11 -0700
        Re: \s josv@planet.nl - 2015-06-10 04:03 -0700
  Re: \s Coos Haak <chforth@hccnet.nl> - 2015-05-30 22:42 +0200
  Re: \s Coos Haak <chforth@hccnet.nl> - 2015-05-30 22:40 +0200
    Re: \s josv@planet.nl - 2015-05-30 14:12 -0700
    Re: \s "HAA" <someone@microsoft.com> - 2015-06-03 15:10 +1000
      Re: \s Coos Haak <chforth@hccnet.nl> - 2015-06-03 13:58 +0200
        Re: \s "HAA" <someone@microsoft.com> - 2015-06-05 21:42 +1000
  Re: \s albert@spenarnc.xs4all.nl (Albert van der Horst) - 2015-05-31 14:46 +0000
    Re: \s josv@planet.nl - 2015-05-31 09:38 -0700
      Re: \s albert@spenarnc.xs4all.nl (Albert van der Horst) - 2015-06-01 10:58 +0000
  Re: \s Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2015-05-31 21:04 +0100
    Re: \s Bernd Paysan <bernd.paysan@gmx.de> - 2015-05-31 22:14 +0200
      Re: \s "HAA" <someone@microsoft.com> - 2015-06-01 13:44 +1000
        Re: \s Coos Haak <chforth@hccnet.nl> - 2015-06-01 12:17 +0200
          Re: \s "HAA" <someone@microsoft.com> - 2015-06-03 12:55 +1000
            Re: \s Bernd Paysan <bernd.paysan@gmx.de> - 2015-06-03 16:39 +0200
              Re: \s "HAA" <someone@microsoft.com> - 2015-06-05 21:36 +1000
                Re: \s Coos Haak <chforth@hccnet.nl> - 2015-06-05 13:54 +0200
                Re: \s "HAA" <someone@microsoft.com> - 2015-06-13 16:20 +1000
                Re: \s coos <chforth@hccnet.nl> - 2015-06-13 21:34 +0200
                Re: \s "Alex McDonald" <blog@rivadpm.com> - 2015-06-16 20:51 +0100
                Re: \s Mark Wills <markwills1970@gmail.com> - 2015-06-17 01:06 -0700
                Re: \s coos <chforth@hccnet.nl> - 2015-06-17 16:15 +0200
                Re: \s coos <chforth@hccnet.nl> - 2015-06-17 16:28 +0200
                Re: \s Bernd Paysan <bernd.paysan@gmx.de> - 2015-06-08 01:10 +0200
                Re: \s anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-06-08 07:56 +0000
                Re: \s Bernd Paysan <bernd.paysan@gmx.de> - 2015-06-08 17:12 +0200
                Re: \s "HAA" <someone@microsoft.com> - 2015-06-09 17:53 +1000
                Re: \s Bernd Paysan <bernd.paysan@gmx.de> - 2015-06-09 23:40 +0200
                Re: \s hughaguilar96@gmail.com - 2015-06-13 22:46 -0700
                Re: \s coos <chforth@hccnet.nl> - 2015-06-14 17:01 +0200
                Re: \s hughaguilar96@gmail.com - 2015-06-14 10:32 -0700
                Re: \s coos <chforth@hccnet.nl> - 2015-06-14 17:00 +0200
            Re: \s Mark Wills <markwills1970@gmail.com> - 2015-06-05 05:13 -0700
              Re: \s Coos Haak <chforth@hccnet.nl> - 2015-06-05 14:37 +0200
                Re: \s Mark Wills <markwills1970@gmail.com> - 2015-06-05 10:28 -0700
      Re: \s "HAA" <someone@microsoft.com> - 2015-06-09 17:51 +1000

csiph-web