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


Groups > comp.lang.forth > #43425

Re: objects build up from other objects

From anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups comp.lang.forth
Subject Re: objects build up from other objects
Date 2015-11-09 12:16 +0000
Organization Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID <2015Nov9.131648@mips.complang.tuwien.ac.at> (permalink)
References (4 earlier) <563e14c9$0$298$14726298@news.sunsite.dk> <po6dndyySouf3KPLnZ2dnUU7-b_46u6z@supernews.com> <ad27da57-76c8-44d0-afad-87f1903af898@googlegroups.com> <m8udnT9l5om4z93LnZ2dnUU7-R2dnZ2d@supernews.com> <b805b945-b4ff-4ff5-9964-a1d408f9b130@googlegroups.com>

Show all headers | View raw


Mark Wills <markwills1970@gmail.com> writes:
>One of the best examples of OO being useful in Forth would be
>Forth itself! A pure OO Forth would need only an object stack
>and a return stack. Integers, floats, strings, database connections,
>GUI object references would all go on the same stack regardless
>of type.

Sounds more like Postscript or Factor to me.

>Contrast that with todays situation where floats *may* go on the=20
>data stack, but may not, etc.

The Forth-2012 situation is that floats are on a separate FP stack.

Having to box or tag every integer and FP value as would be necessary
for the language may have it's advantages, but the resulting language
is pretty far from Forth (still close enough to be discussed here, but
not close enough to be called Forth).

- 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


Thread

objects build up from other  objects Albert van der Horst <albert@spenarnc.xs4all.nl> - 2015-11-04 14:44 +0000
  Re: objects build up from other  objects franck.bensusan@gmail.com - 2015-11-04 09:17 -0800
    Re: objects build up from other objects Doug Hoffman <glidedog@gmail.com> - 2015-11-05 10:07 -0500
      Re: objects build up from other objects Hans Bezemer <the.beez.speaks@gmail.com> - 2015-11-05 18:34 +0100
        Re: objects build up from other objects Albert van der Horst <albert@spenarnc.xs4all.nl> - 2015-11-06 00:09 +0000
        Re: objects build up from other objects Doug Hoffman <glidedog@gmail.com> - 2015-11-05 21:47 -0500
          Re: objects build up from other objects Hans Bezemer <the.beez.speaks@gmail.com> - 2015-11-06 09:37 +0100
            Re: objects build up from other objects Doug Hoffman <glidedog@gmail.com> - 2015-11-06 04:52 -0500
              Re: objects build up from other objects Hans Bezemer <the.beez.speaks@gmail.com> - 2015-11-06 12:36 +0100
                Re: objects build up from other objects Albert van der Horst <albert@spenarnc.xs4all.nl> - 2015-11-06 12:13 +0000
            Re: objects build up from other objects hughaguilar96@gmail.com - 2015-11-06 15:32 -0800
      Re: objects build up from other objects hughaguilar96@gmail.com - 2015-11-05 13:15 -0800
        Re: objects build up from other objects franck.bensusan@gmail.com - 2015-11-05 15:19 -0800
          Re: objects build up from other objects hughaguilar96@gmail.com - 2015-11-05 22:10 -0800
            Re: objects build up from other objects franck.bensusan@gmail.com - 2015-11-07 07:50 -0800
              Re: objects build up from other objects hughaguilar96@gmail.com - 2015-11-07 13:46 -0800
                Re: objects build up from other objects franck.bensusan@gmail.com - 2015-11-07 14:46 -0800
        Re: objects build up from other objects Albert van der Horst <albert@spenarnc.xs4all.nl> - 2015-11-06 00:20 +0000
          Re: objects build up from other objects Ron Aaron <rambamist@gmail.com> - 2015-11-06 07:39 +0200
  Re: objects build up from other objects Doug Hoffman <glidedog@gmail.com> - 2015-11-04 15:33 -0500
  Re: objects build up from other  objects Chris Curl <ccurl609@gmail.com> - 2015-11-06 06:31 -0800
    Re: objects build up from other  objects Hans Bezemer <the.beez.speaks@gmail.com> - 2015-11-06 18:48 +0100
    Re: objects build up from other objects "Elizabeth D. Rather" <erather@forth.com> - 2015-11-06 08:15 -1000
    Re: objects build up from other objects Doug Hoffman <glidedog@gmail.com> - 2015-11-06 13:44 -0500
      Re: objects build up from other objects "Elizabeth D. Rather" <erather@forth.com> - 2015-11-06 11:10 -1000
        Re: objects build up from other objects josv@planet.nl - 2015-11-06 15:19 -0800
          Re: objects build up from other objects "Elizabeth D. Rather" <erather@forth.com> - 2015-11-06 14:54 -1000
            Re: objects build up from other objects anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-11-07 16:57 +0000
              Re: objects build up from other objects "Elizabeth D. Rather" <erather@forth.com> - 2015-11-07 08:13 -1000
          Re: objects build up from other objects Chris Curl <ccurl609@gmail.com> - 2015-11-06 19:31 -0800
            Re: objects build up from other objects hughaguilar96@gmail.com - 2015-11-06 20:03 -0800
            Re: objects build up from other objects josv@planet.nl - 2015-11-07 01:43 -0800
        Re: objects build up from other objects "HAA" <someone@microsoft.com> - 2015-11-07 15:03 +1100
          Re: objects build up from other objects hughaguilar96@gmail.com - 2015-11-06 20:42 -0800
        Re: objects build up from other objects Doug Hoffman <glidedog@gmail.com> - 2015-11-07 10:12 -0500
          Re: objects build up from other objects Chris Curl <ccurl609@gmail.com> - 2015-11-07 10:01 -0800
            Re: objects build up from other objects Doug Hoffman <glidedog@gmail.com> - 2015-11-08 08:22 -0500
              Re: objects build up from other objects Chris Curl <ccurl609@gmail.com> - 2015-11-08 06:37 -0800
            Re: objects build up from other objects "Rod Pemberton" <boo@fasdfrewar.cdm> - 2015-11-08 15:01 -0500
              Re: objects build up from other objects Doug Hoffman <glidedog@gmail.com> - 2015-11-09 07:27 -0500
          Re: objects build up from other objects "Elizabeth D. Rather" <erather@forth.com> - 2015-11-07 08:20 -1000
            Re: objects build up from other objects franck.bensusan@gmail.com - 2015-11-08 23:44 -0800
              Re: objects build up from other objects "Elizabeth D. Rather" <erather@forth.com> - 2015-11-08 21:58 -1000
                Re: objects build up from other objects Mark Wills <markwills1970@gmail.com> - 2015-11-09 01:57 -0800
                Re: objects build up from other objects Ron Aaron <rambamist@gmail.com> - 2015-11-09 12:46 +0200
                Re: objects build up from other objects Mark Wills <markwills1970@gmail.com> - 2015-11-09 03:04 -0800
                Re: objects build up from other objects hughaguilar96@gmail.com - 2015-11-09 23:14 -0800
                Re: objects build up from other objects - even Forth? Jan Coombs <Jan-54 <jenfhaomndgfwutc@murmic.plus.com>> - 2015-11-09 12:15 +0000
                Re: objects build up from other objects - even Forth? franck.bensusan@gmail.com - 2015-11-09 12:25 -0800
                Re: objects build up from other objects - even Forth? Jan Coombs <Jan-54 <jenfhaomndgfwutc@murmic.plus.com>> - 2015-11-10 10:48 +0000
                Re: objects build up from other objects - even Forth? franck.bensusan@gmail.com - 2015-11-10 04:31 -0800
                Re: objects build up from other objects - even Forth? hughaguilar96@gmail.com - 2015-11-10 18:06 -0800
                Re: objects build up from other objects - even Forth? franck.bensusan@gmail.com - 2015-11-11 00:49 -0800
                Re: objects build up from other objects - even Forth? Paul Rubin <no.email@nospam.invalid> - 2015-11-11 01:13 -0800
                Re: objects build up from other objects - even Forth? franck.bensusan@gmail.com - 2015-11-11 01:52 -0800
                Re: objects build up from other objects - even Forth? hughaguilar96@gmail.com - 2015-11-11 15:54 -0800
                Re: objects build up from other objects - even Forth? stephen@mpeforth.com (Stephen Pelc) - 2015-11-12 11:01 +0000
                Re: objects build up from other objects - even Forth? hughaguilar96@gmail.com - 2015-11-12 11:07 -0800
                Re: objects build up from other objects - even Forth? Paul Rubin <no.email@nospam.invalid> - 2015-11-11 15:55 -0800
                Re: objects build up from other objects - even Forth? Mark Wills <markwills1970@gmail.com> - 2015-11-12 00:50 -0800
                Re: objects build up from other objects - even Forth? Paul Rubin <no.email@nospam.invalid> - 2015-11-12 18:21 -0800
                Re: objects build up from other objects anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-11-09 12:16 +0000
                Re: objects build up from other objects Doug Hoffman <glidedog@gmail.com> - 2015-11-09 07:38 -0500
                Re: objects build up from other objects franck.bensusan@gmail.com - 2015-11-09 04:15 -0800
                Re: objects build up from other objects Albert van der Horst <albert@spenarnc.xs4all.nl> - 2015-11-09 15:29 +0000
                Re: objects build up from other objects "Elizabeth D. Rather" <erather@forth.com> - 2015-11-09 09:09 -1000
                Re: objects build up from other objects hughaguilar96@gmail.com - 2015-11-09 22:41 -0800
      Re: objects build up from other objects Chris Curl <ccurl609@gmail.com> - 2015-11-06 19:14 -0800
        Re: objects build up from other objects hughaguilar96@gmail.com - 2015-11-06 19:39 -0800
        Re: objects build up from other objects Doug Hoffman <glidedog@gmail.com> - 2015-11-07 09:04 -0500
  Re: objects build up from other  objects lehs <skydda.barnen@gmail.com> - 2015-11-06 09:20 -0800
  Re: objects build up from other objects Doug Hoffman <glidedog@gmail.com> - 2015-11-08 06:12 -0500

csiph-web