home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / forth / 4012 < prev    next >
Encoding:
Text File  |  1993-01-27  |  1.9 KB  |  44 lines

  1. Newsgroups: comp.lang.forth
  2. Path: sparky!uunet!enterpoop.mit.edu!usc!sol.ctr.columbia.edu!venezia!penev
  3. From: penev@venezia (Penio Penev)
  4. Subject: Re: Documenting
  5. References: <4276.UUL1.3#5129@willett.pgh.pa.us>
  6. Sender: nobody@ctr.columbia.edu
  7. Organization: Rockefeller University
  8. Date: Wed, 27 Jan 1993 03:11:00 GMT
  9. X-Newsreader: TIN [version 1.1 PL6]
  10. Message-ID: <1993Jan27.031100.12971@sol.ctr.columbia.edu>
  11. Reply-To: penev@venezia.rockefeller.edu
  12. X-Posted-From: venezia.rockefeller.edu
  13. NNTP-Posting-Host: sol.ctr.columbia.edu
  14. Lines: 28
  15.  
  16. ForthNet articles from GEnie (ForthNet@willett.pgh.pa.us) wrote:
  17. : Category 3,  Topic 3
  18. : Message 99        Tue Jan 26, 1993
  19. : G.LEFAVE [Gene]              at 06:02 EST
  20. :  
  21. : > Building a nucleus to use a particular shared library or a combination
  22. :  > of them is no more than 5 min work in the beginning of the development
  23. :  > of Your application. This ideology should work quite well with all
  24. :  > breeds of Unix which support shared libraries.
  25. : If there was ever a topic for Forth Dimensions this has to be it! Will this
  26. : work with DOS?
  27.  
  28. I don't know whether DOS uses shared libraries. I know Linux uses
  29. them. The necessity to connect to shared libraries never arose to me
  30. while I was working under DOS. The used mechanism there was to connect
  31. through user-installed interrups. I DOS uses shared libraries though,
  32. I think, that one can connect to it. The trick, which I use, is to
  33. write an empty C program, which declares enough space for FORTH's
  34. nucleus (I put this in the .data segment) and for the dictionary later
  35. ( in the .bss segment). If You are willing enough You could use the
  36. malloc function of C for space management.
  37.  
  38. I implemented this under IRIX (a Unix flavour). I'll have to implement
  39. it for Linux soon, because I'm buying a PC. If anybody is willing to
  40. try for smth. else, I can provide my experience along with some code.
  41.  
  42. -- Penio.
  43.