Search the web
Sign In
New User? Sign Up
forth200x
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
RfD: HEADER   Message List  
Reply | Forward Message #337 of 425 |
Re: [forth200x] Re: RfD: HEADER

Hugh Aguilar wrote:
>
> It already is popular. UR/Forth has its HEADER, Gforth has its
> NEXTNAME, etc., etc.. As I said earlier, it is likely that
> /every/ Forth system has provided some kind of solution to the problem
> --- unfortunately, they are all incompatible with each other.
>
> I don't know if SwiftForth has something like :NAME or not (because my
> $500 SwiftForth compiler doesn't work anymore), but I'll bet its in
> there somewhere. The reason I say this is because it is good
> programming practice to write a low-level word such as :NAME and then
> define colon on top of it, rather than just write colon by itself ---
> that is factoring, which is pretty much the foundation of Forth style.
> Assuming that whoever wrote SwiftForth was highly skilled (which I
> think is true), then he most likely did it this way.
Sure, every Forth has lower-level factors of the primary defining words,
but they differ from one implementation to another, and since those of
us who spend our lives writing applications, as well as our customers,
don't really see a need for access to them, there hasn't been any
interest in standardizing them.
>
> Maybe it is an undocumented word that is only available to Forth Inc.
> employees. SwiftForth is closed-source, so there is likely a lot of
> cool stuff hidden in there that customers (me) don't know about.
I think you have more source than you may realize. We don't release
much source with the free version, but most of the source for the
kernel and extensions is included with even the cheaper paid version,
and even the source for the metacompiler (with the optimizer) is
included with the professional version.
>
> BTW, I know a guy who wrote a compiler for a BASIC with Pascal-like
> extensions. He started out with the 65c02 in the 1980s, then moved up
> to the 65c816, and then on to the Pentium series. Recently he got a
> letter from some astronomers in Turkey who were still using his old
> 65c816 system to control their telescope. They had made some kind of
> hardware modification (I think adding RAM beyond 64K) and his compiler
> had failed to work properly. They were upset and wanted the problem
> fixed immediately. They had paid good money for that compiler after
> all --- never mind that this was 15 years ago for a processor that
> nobody uses anymore. Anyway, he dug out the old source-code, fixed the
> problem, and emailed them a new eprom image at no charge. I can
> definitely respect that kind of business ethic. That is the way that I
> would do business (if I owned my own company, of course).
Well, we don't know what kind of business relationship that development
was done under, of how extensive the fix was, or how your friend makes a
living. But all of the software products that I use that were developed
by people whose livelihood comes only from those products depend on
people paying for major upgrades to cover the cost of providing those
upgrades. A major upgrade costs at least a man-month, often more, to
produce, test, and document. Charging a small amount for major upgrades
to customers whose last purchase was some time in the past is standard
practice.

Cheers,
Elizabeth

--
==================================================
Elizabeth D. Rather (US & Canada) 800-55-FORTH
FORTH Inc. +1 310.999.6784
5959 West Century Blvd. Suite 700
Los Angeles, CA 90045
http://www.forth.com

"Forth-based products and Services for real-time
applications since 1973."
==================================================




Thu Jul 9, 2009 8:24 am

erather
Offline Offline
Send Email Send Email

Forward
Message #337 of 425 |
Expand Messages Author Sort by Date

Author ... Hugh Aguilar Problem ... There is no good way to construct colon words from within other colon words. We can compile the code okay, but we can't...
Hugh Aguilar
hughaguilar96
Offline Send Email
Jul 5, 2009
8:07 am

... I really think you should take Stephen's advice and look at other Forth systems before you propose something. Gforth e.g. already has a solution to your...
Bernd Paysan
berndpaysan
Offline Send Email
Jul 5, 2009
11:33 am

... I think that his approach here is ok. An RfD is a request for *discussion* after all. So if there are other solutions to the problem, they will hopefully...
Anton Ertl
anton@...
Send Email
Jul 5, 2009
12:16 pm

________________________________ From: Bernd Paysan <bernd.paysan@...> To: forth200x@yahoogroups.com Sent: Sunday, July 5, 2009 5:12:10 AM Subject: Re:...
Hugh Aguilar
hughaguilar96
Offline Send Email
Jul 6, 2009
10:02 pm

... I don't think either is particularly difficult to explain, though I doubt novices would be using them, since they are both advanced concepts which IMO...
georgeahubert
Offline
Jul 7, 2009
8:39 am

As for whether words such as HEADER and NEXTNAME are "advanced" and appropriate for novices, or not, I would say that the question is moot because Forth...
Hugh Aguilar
hughaguilar96
Offline Send Email
Jul 7, 2009
9:08 pm

... Yeah, right. Over the weekend one can not only read the text, but also memorize over 400 words with their definitions and stack effects. All without...
Elizabeth D Rather
erather
Offline Send Email
Jul 7, 2009
11:16 pm

It already is popular. UR/Forth has its HEADER, Gforth has its NEXTNAME, etc., etc.. As I said earlier, it is likely that every Forth system has provided some...
Hugh Aguilar
hughaguilar96
Offline Send Email
Jul 9, 2009
2:55 am

... Sure, every Forth has lower-level factors of the primary defining words, but they differ from one implementation to another, and since those of us who...
Elizabeth D Rather
erather
Offline Send Email
Jul 9, 2009
8:25 am

... Sounds like you should start a business so you can get more wider exposure for your ideas. I found that my ideas about business, and pretty much everything...
Mitch Bradley
wmb@...
Send Email
Jul 9, 2009
1:47 pm

Putting me in charge of anything is a scary thought --- not just for me, but for the rest of the world too. ;-) Seriously, if I were to start my own business,...
Hugh Aguilar
hughaguilar96
Offline Send Email
Jul 10, 2009
2:50 am

... I would have said put them in a buffer and EVALUATE them would be better, though it's still kind of kludgy. ... It's trival to use GET-CURRENT if the word...
georgeahubert
Offline
Jul 5, 2009
12:08 pm

... I'm not clear quite what the problem here is. When do you want to get the name? If you want to get the name when the word executes, then why not put the...
jethomas3182
Offline Send Email
Jul 7, 2009
1:00 am

... The factoring of HEADER is actually more complex. In practise, as per FIG-Forth, you need doCreate, doColon and friends as well. With modern CPUs and...
Stephen Pelc
sfprem
Offline Send Email
Jul 8, 2009
11:00 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help