A REALLY verbose example of the EDO Structure Package by GT Hawkins
  Home FAQ Contact Sign in
comp.lang.forth only
 
Advanced search
POPULAR GROUPS

more...

comp.lang.forth Profile…
 Up
A REALLY verbose example of the EDO Structure Package by GT Hawkins         


Author: Tim Trussell
Date: Dec 4, 2006 11:23

\ ---[ FORTH Snippets ]----------------------------------------------
\
\ ______ _____ _______
\ /\ ___\ /\ __ \ /\ ___ \
\ \ \ \__/_ \ \ \ \ \ \ \ \
\ \ \ ___\ \ \ \ \ \ \ \ \
\ \ \ \__/_ \ \__/ \ \ \__\ \
\ \ \______\/\_____/\ \______\
\ \/______/\/____/ \/______/
\
\ EDO
\
\ Extended Data Objects
\ -------------------------------------------------------------------
\
\ Author:
\
\ G.T. Hawkins
\ I believe this may have been printed in FORTH Dimensions.
\ ...
Show full article (9.67Kb)
28 Comments
Re: A REALLY verbose example of the EDO Structure Package by GT Hawkins         


Author: Bruce McFarling
Date: Dec 4, 2006 11:52

---[ A quick query ]------------------------------------

Is there anything gained by using this and not moof.fs? Or this and not
the fsl-utils array words? Personally, I would prefer to see the use of
a library that is widely available in Standard Forth and has some
established user base
---[ A quick query ]------------------------------------

Is there anything gained by using this and not moof.fs? Or this and not
the fsl-utils array words? Personally, I would prefer to see the use of
a library that is widely available in Standard Forth and has some
established user base.
no comments
Re: A REALLY verbose example of the EDO Structure Package by GT Hawkins         


Author: Tim Trussell
Date: Dec 4, 2006 12:09

Bruce McFarling wrote:
> ---[ A quick query ]------------------------------------
>
> Is there anything gained by using this and not moof.fs? Or this and not
> the fsl-utils array words? Personally, I would prefer to see the use of
> a library that is widely available in Standard Forth and has some
> established user base.

Bruce -

I don't know - it could be an apples and oranges thing.
>From the .FS suffix, I'm assuming that this is for the GForth system,
and I don't have an extensive knowledge of the programming modules
included with GForth at this time.

I've been concentrating on getting 32-bit graphics up and running on a
32-bit Forth, and beyond going thru every scrap of code in the GForth
release that I have to try to figure out how to access the video memory
- which I haven't been able to figure out - I haven't spent much time
with it.
Show full article (1.58Kb)
no comments
Re: A REALLY verbose example of the EDO Structure Package by GT Hawkins         


Author: Bruce McFarling
Date: Dec 4, 2006 12:33

---[ Minimalism and Benchmarking ]------

Why I raised Mini-OOF is that it is common and that it *is* far from
complete. I should hope that we will use systems that are incomplete
and extendible rather than aspiring to be complete while presenting
unforseen obstacles. In particular, moof.fs refrains from engaging in
any wordspace management, which naturally means that it is open to
wordspace management solutions as they evolve.

But mostly, since its a one-screener (see end of post), its a useful
minimalist basis of comparison for describing what a more extensive
system has to offer in addition. Even if the answer is, "this is why
moof does not offer enough capability for what I am doing", it provides
a concrete basis for comparison that is portable to a very large number
of systems.

---[ Detailed Description of Mini-OOF ]-----
---[Bernd Paysan 24sep1998 ]------
[http://www.jwdt.com/~paysan/mini-oof.html A Screenful of Forth]
Show full article (6.47Kb)
1 Comment
Re: A REALLY verbose example of the EDO Structure Package by GT Hawkins         


Author: helmwo
Date: Dec 4, 2006 12:45

Bruce McFarling schrieb:
> I should hope that we will use systems that are incomplete
> and extendible ...

That is interesting. The moof at end of your post shows that the real
minimalist object oriented extension to FORTH needs exactly zero
screens of code to be incomplete and extendidble.

-Helmar
no comments
Re: A REALLY verbose example of the EDO Structure Package by GT Hawkins         


Author: Tim Trussell
Date: Dec 4, 2006 13:05

Bruce McFarling wrote:
> ---[ Minimalism and Benchmarking ]------
> ---[ Object Oriented Forth - Bernd Paysan ]------
> \ Mini-OOF 12apr98py
> : method ( m v -- m' v ) Create over , swap cell+ swap
>> ( ... o -- ... ) @ over @ + @ execute ;
> : var ( m v size -- m v' ) Create over , +
>> ( o -- addr ) @ + ;
> : class ( class -- class methods vars ) dup 2@ ;
> : end-class ( class methods vars -- )
> Create here >r , dup , 2 cells ?DO ['] noop , 1 cells +LOOP
> cell+ dup cell+ r> rot @ 2 cells /string move ;
> : defines ( xt class -- ) ' >body @ + ! ;
> : new ( class -- o ) here over @ allot swap over ! ;
> : :: ( class "name" -- ) ' >body @ + @ compile, ;
> Create object 1 cells , 2 cells ,

Bruce -

You're not a nice man.
Show full article (1.38Kb)
no comments
Re: A REALLY verbose example of the EDO Structure Package by GT Hawkins         


Author: John Passaniti
Date: Dec 4, 2006 16:05

Bruce McFarling wrote:
> Why I raised Mini-OOF is that it is common and that it *is* far from
> complete. I should hope that we will use systems that are incomplete
> and extendible rather than aspiring to be complete while presenting
> unforseen obstacles.

I don't necessarily see that as always valid. There can be a dark side
to making things too incomplete or too extensible. Like most things in
life, "incomplete" and "extensible" isn't a binary thing. It's more a
matter of degree.

Being incomplete is of little value if you are experienced in the
problem domain and know you'll need some functionality that is missing.
And while being extensible is usually a very good thing, it can lead
to a Tower of Babel. If programmer X extends in one way and programmer
Y extends in another, programmer Z's attempts to integrate the two
efforts in a single program is likely to suffer. And that's especially
true in Forth, since different programmers with wildly different tastes
and styles can come up with completely arbitrary syntax and semantics.
Show full article (1.78Kb)
no comments
Re: A REALLY verbose example of the EDO Structure Package by GT Hawkins         


Author: Charlie Springer
Date: Dec 4, 2006 19:39

On Mon, 4 Dec 2006 11:23:11 -0800, Tim Trussell wrote
(in article <1165260191.863300.91370@16g2000cwy.googlegroups.com>):

snip

Ouch! Quit it or I'm telling!

-- Charlie Springer
no comments
Re: A REALLY verbose example of the EDO Structure Package by GT Hawkins         


Author: Bruce McFarling
Date: Dec 5, 2006 02:04

---[ Minimalist Benchmark ... An Addendum ]------
John Passaniti wrote:
> Bruce McFarling wrote:
>> Why I raised Mini-OOF is that it is common and that it *is* far from
>> complete. I should hope that we will use systems that are incomplete
>> and extendible rather than aspiring to be complete while presenting
>> unforseen obstacles.
>
> I don't necessarily see that as always valid.

There is no "only" between "will" and "use". And there are certainly
problem domains and situations where complete and, in the sense of the
above, completed tools are the order of the day. Therefore, I apologize
if my remark conveyed the impression of "will only use".
no comments
Re: A REALLY verbose example of the EDO Structure Package by GT Hawkins         


Author: Bruce McFarling
Date: Dec 5, 2006 03:23

---[ The Real minimalist object oriented extension ]------

helmwo@gmail.com wrote:
> Bruce McFarling schrieb:
>
>> I should hope that we will use systems that are incomplete
>> and extendible ...
>
> That is interesting. The moof at end of your post shows that the real
> minimalist object oriented extension to FORTH needs exactly zero
> screens of code to be incomplete and extendidble.
> -Helmar

Yes, I agree. If a one-screen object oriented extension is possible, it
serves to demonstrate that the "incomplete extendible object
orientation" is already there.

For social computing, it is useful to have a common vocabulary to
discuss those capabilities.
One that can be implemented as easily on a stock CP/M or C64 box as on
a current Windows, Mac or Linux box is also attractive.
no comments
1 2 3