Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #12134
| From | hwfwguy@gmail.com |
|---|---|
| Newsgroups | comp.lang.forth |
| Subject | Re: OOP packages |
| Date | 2012-05-10 17:04 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <11255290.346.1336694692356.JavaMail.geo-discussion-forums@vbjb10> (permalink) |
| References | <22219856.238.1336494699125.JavaMail.geo-discussion-forums@yngg23> |
On Tuesday, May 8, 2012 9:31:39 AM UTC-7, hwf...@gmail.com wrote: > Hi All, > > Which OOP packages are common to both the VFX and SwiftForth communities? I know of SWOOP but there could be others. > > -Brad I may have asked the wrong question. It's hard to evaluate the many OOPs out there. Maybe what I'm looking for is a sample problem that is solved in several dialects of OOP. That would provide some metrics. Having spent the day in C#, the object.method syntax is starting to grow on me. But that's just encapsulation. A Forth could take a foo.bar syntax to mean "look for bar only in the foo wordlists". After all, Foo can have more than one wordlist depending on its ancestry. AFAIK some of the OOPs support FOO.BAR as FOO BAR to avoid patching the interpreter. The base class could have some toolkit words: foo.words lists the words in the foo wordlist(s), foo.help lists a glossary, or foo.edit opens the source in an editor. Maybe I'm oversimpifying. Many OOP features are less important to supply in Forth because load order and CREATE DOES> provide much of their functionality already. The primary use of OOP seems to be encapsulation, followed by its cousin polymorphism. Rather than adopt an OOP with hundreds of LOC, I might adopt one with tens of lines. But that takes me back to Stephen's point that nobody can write OOP-based libraries because of the Babel of OOPs. I'm looking for one to emerge from the primordial soup. Something that doesn't eat up a lot of RAM in an embedded system, for starters. -Brad
Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
OOP packages hwfwguy@gmail.com - 2012-05-08 09:31 -0700
Re: OOP packages "Elizabeth D. Rather" <erather@forth.com> - 2012-05-08 09:10 -1000
Re: OOP packages stephenXXX@mpeforth.com (Stephen Pelc) - 2012-05-08 20:17 +0000
Re: OOP packages hwfwguy@gmail.com - 2012-05-08 18:26 -0700
Re: OOP packages anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2012-05-09 11:34 +0000
Re: OOP packages Doug Hoffman <glidedog@gmail.com> - 2012-05-09 08:00 -0400
Re: OOP packages Bernd Paysan <bernd.paysan@gmx.de> - 2012-05-09 19:49 +0200
Re: OOP packages anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2012-05-10 11:39 +0000
Re: OOP packages Doug Hoffman <glidedog@gmail.com> - 2012-05-10 12:48 -0400
Re: OOP packages Hugh Aguilar <hughaguilar96@yahoo.com> - 2012-05-10 02:26 -0700
Re: OOP packages BruceMcF <agila61@netscape.net> - 2012-05-08 12:39 -0700
Re: OOP packages Doug Hoffman <glidedog@gmail.com> - 2012-05-08 15:56 -0400
Re: OOP packages hwfwguy@gmail.com - 2012-05-10 17:04 -0700
Re: OOP packages Hugh Aguilar <hughaguilar96@yahoo.com> - 2012-05-11 02:02 -0700
Re: OOP packages Albert van der Horst <albert@spenarnc.xs4all.nl> - 2012-05-15 10:32 +0000
Re: OOP packages Doug Hoffman <glidedog@gmail.com> - 2012-05-15 08:35 -0400
Re: OOP packages mhx@iae.nl (Marcel Hendrix) - 2012-05-15 20:37 +0200
Re: OOP packages Doug Hoffman <glidedog@gmail.com> - 2012-05-15 15:22 -0400
Re: OOP packages Doug Hoffman <glidedog@gmail.com> - 2012-05-15 21:50 -0400
Re: OOP packages mhx@iae.nl (Marcel Hendrix) - 2012-05-17 08:11 +0200
Re: OOP packages Doug Hoffman <glidedog@gmail.com> - 2012-05-17 08:55 -0400
Re: OOP packages Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2012-05-22 08:39 +0100
Re: OOP packages Doug Hoffman <glidedog@gmail.com> - 2012-05-22 07:02 -0400
Re: OOP packages Gerry Jackson <gerry@jackson9000.fsnet.co.uk> - 2012-05-22 13:14 +0100
Re: OOP packages Coos Haak <chforth@hccnet.nl> - 2012-05-22 18:11 +0200
Re: OOP packages Doug Hoffman <glidedog@gmail.com> - 2012-05-22 14:23 -0400
Re: OOP packages Coos Haak <chforth@hccnet.nl> - 2012-05-23 19:47 +0200
Re: OOP packages Doug Hoffman <glidedog@gmail.com> - 2012-05-23 14:58 -0400
Re: OOP packages Doug Hoffman <glidedog@gmail.com> - 2012-05-31 07:43 -0400
Re: OOP packages "Peter Knaggs" <pjk@bcs.org.uk> - 2012-05-17 19:31 +0100
Re: OOP packages Hugh Aguilar <hughaguilar96@yahoo.com> - 2012-05-17 21:59 -0700
Re: OOP packages digital.wilderness@googlemail.com - 2012-05-18 01:51 -0700
csiph-web