Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #28542
| From | "Rod Pemberton" <dont_use_email@xnohavenotit.cnm> |
|---|---|
| Newsgroups | comp.lang.forth |
| Subject | Re: suggestions for word names? |
| Date | 2014-02-18 18:17 -0500 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <op.xbh2y2j85zc71u@localhost> (permalink) |
| References | <ldlthk$bga$1@speranza.aioe.org> <odOdnZxtWrB34WPPnZ2dnUVZ_vWdnZ2d@supernews.com> <ldm427$sqr$1@speranza.aioe.org> <131b48e9-d9ae-4ce7-8cb5-3e2f8c4425f0@googlegroups.com> <ccabc36b-2780-4f37-a736-a4143b30f2f0@googlegroups.com> |
On Tue, 18 Feb 2014 08:04:07 -0500, Stefan Mauerhofer <smauerhofer@androsoft.ch> wrote: > My additional stack words are: > > nip ( n1 n2 - n2 ) > under ( n1 n2 - n1 n1 n2 ) > tuck ( n1 n2 - n2 n1 n2 ) > drup ( n1 n2 - n1 n1 ) > dip ( n1 n2 - n2 n2 ) > > so nup would be my under. What's the better name? under or nup ? The only other place I've seen them is as Rob Chapman's Stack Quarks, but I'm not as familiar as others here ... Quarks http://clubweb.interbaun.com/~rc/Timbre/ContentPages/Timbre/SQP/StackQuarksPaper.html I think those are equivalent to his, but a few are named differently: UNDER -> NUP DRUP -> DIP DIP -> DRIP As Marcel pointed out, it's convenient to have NIP and TUCK, but the others really aren't needed for Forth. Normally, interpreted Forths only kept one stack item kept in registers, i.e., TOS top-of-stack. If you have two stack items kept in registers, Quarks become convenient to define Forth stack operations in terms of a stack and two registers. However, they aren't generally needed for coding in Forth. Rod Pemberton
Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
suggestions for word names? Marcos Cruz <null_email_so_use_my_contact_page@programandala.net> - 2014-02-14 20:15 +0000
Re: suggestions for word names? "Elizabeth D. Rather" <erather@forth.com> - 2014-02-14 10:30 -1000
Re: suggestions for word names? Marcos Cruz <null_email_so_use_my_contact_page@programandala.net> - 2014-02-14 22:07 +0000
Re: suggestions for word names? humptydumpty <ouatubi@gmail.com> - 2014-02-15 10:00 -0800
Re: suggestions for word names? Stefan Mauerhofer <smauerhofer@androsoft.ch> - 2014-02-18 05:04 -0800
Re: suggestions for word names? m.a.m.hendrix@tue.nl - 2014-02-18 05:45 -0800
Re: suggestions for word names? "Rod Pemberton" <dont_use_email@xnohavenotit.cnm> - 2014-02-18 18:17 -0500
Re: suggestions for word names? Stefan Mauerhofer <smauerhofer@androsoft.ch> - 2014-02-18 21:38 -0800
Re: suggestions for word names? Mark Wills <markrobertwills@yahoo.co.uk> - 2014-02-19 02:00 -0800
Re: suggestions for word names? Paul Rubin <no.email@nospam.invalid> - 2014-02-19 02:44 -0800
Re: suggestions for word names? albert@spenarnc.xs4all.nl (Albert van der Horst) - 2014-02-19 20:13 +0000
Re: suggestions for word names? Andrew Haley <andrew29@littlepinkcloud.invalid> - 2014-02-19 03:49 -0600
Re: suggestions for word names? Hans Bezemer <the.beez.speaks@gmail.com> - 2014-02-15 14:55 +0100
Re: suggestions for word names? "Rod Pemberton" <dont_use_email@xnohavenotit.cnm> - 2014-02-14 20:44 -0500
Re: suggestions for word names? Hans Bezemer <the.beez.speaks@gmail.com> - 2014-02-15 14:52 +0100
Re: suggestions for word names? Coos Haak <chforth@hccnet.nl> - 2014-02-15 15:43 +0100
Re: suggestions for word names? "Rod Pemberton" <dont_use_email@xnohavenotit.cnm> - 2014-02-15 12:06 -0500
Re: suggestions for word names? Coos Haak <chforth@hccnet.nl> - 2014-02-15 18:30 +0100
Re: suggestions for word names? Hans Bezemer <the.beez.speaks@gmail.com> - 2014-02-18 16:45 +0100
Re: suggestions for word names? "Rod Pemberton" <dont_use_email@xnohavenotit.cnm> - 2014-02-18 18:17 -0500
Re: suggestions for word names? Hans Bezemer <the.beez.speaks@gmail.com> - 2014-02-19 09:44 +0100
Re: suggestions for word names? Hans Bezemer <the.beez.speaks@gmail.com> - 2014-02-19 09:47 +0100
Re: suggestions for word names? Paul Rubin <no.email@nospam.invalid> - 2014-02-19 01:38 -0800
Re: suggestions for word names? Hans Bezemer <the.beez.speaks@gmail.com> - 2014-02-19 16:59 +0100
Re: suggestions for word names? Hans Bezemer <the.beez.speaks@gmail.com> - 2014-02-19 10:11 +0100
Re: suggestions for word names? "Rod Pemberton" <dont_use_email@xnohavenotit.cnm> - 2014-02-19 05:39 -0500
Re: suggestions for word names? Stefan Mauerhofer <smauerhofer@androsoft.ch> - 2014-02-19 03:31 -0800
Re: suggestions for word names? Marcos Cruz <null_email_so_use_my_contact_page@programandala.net> - 2014-02-15 15:41 +0000
csiph-web