home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / forth / 3062 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  3.4 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!mlb.semi.harris.com!x102a!gbastin
  2. From: gbastin@x102a.ess.harris.com (bastin gary 60293)
  3. Newsgroups: comp.lang.forth
  4. Subject: Re: $15 Forth-like Language with source in C on disk !
  5. Message-ID: <1992Sep3.140422.27081@mlb.semi.harris.com>
  6. Date: 3 Sep 92 14:04:22 GMT
  7. References: <1992Sep2.125203.16634@dbsun.uucp>
  8. Sender: news@mlb.semi.harris.com
  9. Organization: Harris GASD
  10. Lines: 57
  11. Nntp-Posting-Host: x102a.ess.harris.com
  12.  
  13. meyer@dbsun.uucp (Don Meyer) writes:
  14. : In article <1670@sousa.ltn.dec.com> secrist@kxovax.enet.dec.com (Strong datatypes for weak minds.) writes:
  15. : > [...]  The book is called "Write Your Own Programming 
  16. : >Language Using C++" by Norman E. Smith and is published by Wordware.
  17. : >It was easy to turn into straight C  ...
  18. : Hopefully I'm wrong, but if it was truly easy to convert from "C++" to C
  19. : than I suspect one of two situations exist.  Either it is an application
  20. : that really doesn't lend itself to the strengths of C++, or it is badly
  21. : written C++. :-(   ...
  22.  
  23. I just bought the book last weekend from the local B.Dalton's at
  24. the mall.  It appears that:
  25.  
  26.   1.  The author wrote a mini version of Forth in C.  Left out some
  27.       common F83 words, but captured the basic kernel.
  28.  
  29.   2.  He then decided to capitalize on the OOP craze, added cout, etc.,
  30.       for simple I/O  in place of printf, etc., just so as to 
  31.       get C++ in the title, instead of C.  Also, made some changes from
  32.       C's malloc to C++'s convention for memory allocation.
  33.  
  34.   3.  He also changed ":" to "m{", ";" to "}m", and a few
  35.       other changes to make it a macro programming language called CALC
  36.       instead of Forth, to avoid any mention of Forth until about
  37.       mid-way through the book. Forth is not exactly a main stream
  38.       language.   You don't want to scare off the C++ types :-)
  39.       (He does include a conversion table for CALC words to Forth
  40.       words :-)
  41.  
  42.  4.  On the positive side, it does appear not to be limited to 64K
  43.       maximum limits by avoiding a contiguous word dictionary, and 
  44.       using a word linked list, instead. It explains the data structures 
  45.       very well.  And it shows examples of how to extend the kernel, 
  46.       by including the necessary stuff in the .h file, as well as in 
  47.       the actual program.  Doesn't use blocks, but sequential files.  
  48.       Also includes a list of references to Forth, and mentions the 
  49.       Forth Interest Group's address.  Mentions TILE, for UNIX 
  50.       systems, and other Forth systems.  And the price is right!
  51.  
  52. Summary: Worth the price.  Check it out!  
  53.  
  54.          (Besides, how many books on Forth are even in print these days?  
  55.          Starting Forth, 2nd Ed., is no longer even stocked by 
  56.          the distributor for The Bookstop.  Likewise, Forth, A Text 
  57.          and Reference, Kelly & Spies, is not available, even by special 
  58.          order, through The Bookstop.  And I can't remember the last 
  59.          time I even saw a commercial Forth ad in Dr. Dobb's Journal, 
  60.          or any of the other magazines.  DDJ formerly had entire issues 
  61.          dedicated to Forth!  The last major DDJ article on Forth
  62.          was about 2 years ago, January 1990?, on ZEN, if I remember 
  63.          correctly.)
  64.  
  65. Gary Bastin, WB4YAF      /-/-/      Internet: gbastin@x102a.ess.harris.com
  66. Mail Stop 22A-4858         |        phone: (407) 729-3045
  67. Harris Corporation GASD    |        FAX:   (407) 727-5905
  68. P.O.B. 94000, Melbourne FL 32902    Speaking from, but not for, Harris! 
  69.