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


Groups > comp.lang.forth > #28801

Re: RfD: Interpret S\"

From anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups comp.lang.forth
Subject Re: RfD: Interpret S\"
Date 2014-02-27 15:00 +0000
Organization Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID <2014Feb27.160018@mips.complang.tuwien.ac.at> (permalink)
References <op.xbtceeqosu5d0p@david> <530c6015.1058201878@news.demon.co.uk> <2014Feb26.120034@mips.complang.tuwien.ac.at> <a7ced981-c1ad-4a53-b0f2-bbfe43249397@googlegroups.com>

Show all headers | View raw


Mikael Nordman <oh2aun@gmail.com> writes:
>Why is a buffer needed at all if the strings are processed on the same line ?
>
>In a small embedded system you can implement s" so that it gives addr/len
>directly into the input buffer.
...
>But I guess all of this falls under s" non-standard" :-)

Correct.  Or "system with an environmental restriction".  Which may be
a good compromise for your users.

It's a little worse for S\".  There the string is translated, so you
have the choice of using a buffer for that, or you do the translation
in-place and have restrictions on the use of SOURCE and >IN.

- 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 2013: http://www.euroforth.org/ef13/

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


Thread

RfD: Interpret S\" "Peter Knaggs" <pjk@bcs.org.uk> - 2014-02-25 01:14 +0000
  Re: RfD: Interpret S\" "Alex McDonald" <blog@rivadpm.com> - 2014-02-25 08:26 +0000
  Re: RfD: Interpret S\" stephenXXX@mpeforth.com (Stephen Pelc) - 2014-02-25 09:29 +0000
    Re: RfD: Interpret S\" m.a.m.hendrix@tue.nl - 2014-02-25 03:43 -0800
      Re: RfD: Interpret S\" Bernd Paysan <bernd.paysan@gmx.de> - 2014-03-04 02:46 +0100
    Re: RfD: Interpret S\" albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-02-25 12:25 +0000
    Re: RfD: Interpret S\" anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-02-26 11:00 +0000
      Re: RfD: Interpret S\" stephenXXX@mpeforth.com (Stephen Pelc) - 2014-02-26 15:18 +0000
        Re: RfD: Interpret S\" "Elizabeth D. Rather" <erather@forth.com> - 2014-02-26 08:28 -1000
      Re: RfD: Interpret S\" Mikael Nordman <oh2aun@gmail.com> - 2014-02-26 12:33 -0800
        Re: RfD: Interpret S\" anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-02-27 15:00 +0000
  Re: RfD: Interpret S\" Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-02-25 04:55 -0600
    Re: RfD: Interpret S\" anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2014-02-26 11:53 +0000

csiph-web