home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!bu.edu!transfer!sw.stratus.com!nick
- From: nick@sw.stratus.com (Nicolas Tamburri)
- Newsgroups: comp.lang.forth
- Subject: Re: Forth in the Marketplace
- Message-ID: <6357@transfer.stratus.com>
- Date: 14 Sep 92 17:51:33 GMT
- References: <4055.UUL1.3#5129@willett.pgh.pa.us>
- Sender: usenet@transfer.stratus.com
- Organization: Stratus Computer, Inc.
- Lines: 46
-
-
- > S.BAKER41 [S.E.Baker] at 18:04 EDT
- >
- > > FLOATING POINT default with a toggle words called FLO and INT.
- >
- > That would be ok but I would suggest a simpler answer. For the
- > beginner it would be great to simply have floating point words; "ADD", "SUB",
- > MUL", "DIV" and maybe "SQUARE", "SQROOT", etc. Yes, I know that this is very
- > "COBOL-like" -- deliberately so. If you can make a COBOL programmer
- > comfortable with a transition into Forth then you will see the language gain
- > acceptance. Converting him to more brief words can be accomplished later.
-
- Forth generally does as you state, except that the usual names are F+ , F- etc.
- I believe the original statement had to do with numeric input from the
- keyboard or files being converted to floating point numbers automatically.
- (Correct me if I'm wrong, someone.)
-
- I kind of like the idea of having a float or integer input mode, but I would
- modify the above suggestion to only convert to floating point if a decimal
- point appears in the number, (ala double precision numbers.) Double precision
- numbers are becoming somewhat less useful as 32-bit Forths running on platforms
- with FPUs become the norm.
-
- > > RPN is controversial
- >
- > Why? I see no reason for this to be a problem. It is easily learned
- > and the value becomes obvious to anyone who learns the use of stacks.
-
- One of our favorite time-wasters way, [way, way, ...] back in college was
- which company made better calculators, Texas Instruments or Hewlett-Packard.
- More people bought TI because H-P were RPN based. You have to pity those
- TI people, but facts are facts.
-
- > > and then compile it. Type RPN and you simply go back to usual
- > > RPN entry.
- >
- > Please don't waste time worrying about this! There are far bigger
- > holes in Forth that simply MUST be plugged before it is a "language". Right
- > now, IMO, Forth is a piece of a language. I won't be able to make use of it
- > until it becomes whole.
-
- Please don't waste time, is right. Dick Pountain published a rudimentary Algebraic
- Notation input parser in BYTE a couple years back. It looked pretty portable
- and extensible for anyone sick enough to want to use it. :-)
-
- /nt
-