Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #45592
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | anton@mips.complang.tuwien.ac.at (Anton Ertl) |
| Newsgroups | comp.lang.forth |
| Subject | Re: Rosetta code reverse a string |
| Date | Wed, 17 Feb 2016 07:07:51 GMT |
| Organization | Institut fuer Computersprachen, Technische Universitaet Wien |
| Lines | 21 |
| Message-ID | <2016Feb17.080751@mips.complang.tuwien.ac.at> (permalink) |
| References | <e69b019d-9102-4232-b3e0-c6b524056bfd@googlegroups.com> <87d1rx8t35.fsf@jester.gateway.pace.com> <2016Feb16.144414@mips.complang.tuwien.ac.at> <874md88i09.fsf@jester.gateway.pace.com> |
| Injection-Info | mx02.eternal-september.org; posting-host="d47d3421039fe8026514328ad0ebacae"; logging-data="1014"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+RT+qZcixnOJz0D62yM1zJ" |
| X-newsreader | xrn 10.00-beta-3 |
| Cancel-Lock | sha1:wVEuc0veQkKz47iPCJuTCc+lt18= |
| Xref | csiph.com comp.lang.forth:45592 |
Show key headers only | View raw
Paul Rubin <no.email@nospam.invalid> writes:
>anton@mips.complang.tuwien.ac.at (Anton Ertl) writes:
>> Note that PARSE-NAME cannot be replaced with BL WORD COUNT here,
>> because several invocations of WORD may use (and typically do use) the
>> same buffer.
>
>But in Gforth I also found that PARSE-NAME re-used the same buffer on
>repeated invocations;
PARSE-NAME gives you addresses into the input buffer (and that's
required by the standard; if you find a case where Gforth does not
comply with that, please report it as a bug). Gforth reuses the input
buffer on REFILL, but as long as you don't REFILL, the result produced
by each invocation of PARSE stays valid.
- 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 2015: http://www.rigwit.co.uk/EuroForth2015/
Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Rosetta code reverse a string foxaudioresearch@gmail.com - 2016-02-15 13:22 -0800
Re: Rosetta code reverse a string Paul Rubin <no.email@nospam.invalid> - 2016-02-15 15:14 -0800
Re: Rosetta code reverse a string foxaudioresearch@gmail.com - 2016-02-15 16:49 -0800
Re: Rosetta code reverse a string Paul Rubin <no.email@nospam.invalid> - 2016-02-15 20:27 -0800
Re: Rosetta code reverse a string anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-02-16 07:25 +0000
Re: Rosetta code reverse a string Doug Hoffman <glidedog@gmail.com> - 2016-02-16 05:30 -0500
Re: Rosetta code reverse a string Albert van der Horst <albert@spenarnc.xs4all.nl> - 2016-02-16 11:55 +0000
Re: Rosetta code reverse a string anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-02-16 13:44 +0000
Re: Rosetta code reverse a string Albert van der Horst <albert@spenarnc.xs4all.nl> - 2016-02-16 14:45 +0000
Re: Rosetta code reverse a string anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-02-16 16:22 +0000
Re: Rosetta code reverse a string Paul Rubin <no.email@nospam.invalid> - 2016-02-16 13:25 -0800
Re: Rosetta code reverse a string anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2016-02-17 07:07 +0000
Re: Rosetta code reverse a string Paul Rubin <no.email@nospam.invalid> - 2016-02-16 23:29 -0800
Re: Rosetta code reverse a string Albert van der Horst <albert@spenarnc.xs4all.nl> - 2016-02-16 11:46 +0000
Re: Rosetta code reverse a string "WJ" <w_a_x_man@yahoo.com> - 2016-02-16 18:25 +0000
Re: Rosetta code reverse a string humptydumpty <ouatubi@gmail.com> - 2016-02-16 13:40 -0800
Re: Rosetta code reverse a string "WJ" <w_a_x_man@yahoo.com> - 2016-06-28 01:55 +0000
Re: Rosetta code reverse a string "HAA" <someone@microsoft.com> - 2016-06-29 11:45 +1000
csiph-web