home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / vmsnet / misc / 1059 < prev    next >
Encoding:
Internet Message Format  |  1992-12-12  |  2.2 KB

  1. Path: sparky!uunet!sunquest!spades.aces.com!gavron
  2. From: gavron@spades.aces.com (Ehud Gavron 602-570-2000 x. 2546)
  3. Newsgroups: vmsnet.misc
  4. Subject: Re: writing lexical functions
  5. Message-ID: <12DEC199217393811@spades.aces.com>
  6. Date: 13 Dec 92 00:39:00 GMT
  7. References: <Bz3KEC.Es2@wm.estec.esa.nl> <12DEC199200264446@spades.aces.com> <1992Dec13.020257.1@tango.cchs.su.oz.au>
  8. Sender: news@sunquest.UUCP
  9. Reply-To: gavron@ACES.COM
  10. Organization: ACES Consulting Inc.
  11. Lines: 43
  12. News-Software: VAX/VMS VNEWS 1.4-b1
  13.  
  14. In article <1992Dec13.020257.1@tango.cchs.su.oz.au>, brennan@tango.cchs.su.oz.au (Luke Brennan) writes...
  15. #In article <12DEC199200264446@spades.aces.com>, gavron@spades.aces.com (Ehud Gavron 602-570-2000 x. 2546) writes:
  16. #> In article <Bz3KEC.Es2@wm.estec.esa.nl>, hevans@estcs1.dnet.estec.esa.nl writes...
  17. #> # 
  18. #> #Can anyone out there tell me if it is possible to write my own lexical
  19. #> #functions, and how?
  20. #> 
  21. #[...]
  22. #>     The answer to your implied question is NO, you cannot normally
  23. #>     write your own lexical functions into DCL.
  24. #[...]
  25. #> 
  26. #>     Ehud
  27. #    Why precisely? No hooks? Yes, but undocumented? Totally impossible?
  28. #    'you cannot normally'.. okay - so what about NOT normally? :-)
  29.  
  30. The other lines of the post which listed how you could, and why you NORMALLY 
  31. can't were quite clear.
  32.  
  33. #    Isn't this the kind of thing an internals guru would *eat* ? !!
  34. #        Seems like an incredible oversight for VMS - I recall even PRIMOS
  35. #    had that kind of thing standard in the RTL..
  36.  
  37. There is a big difference between running an image, and adding your own 
  38. iser functions to a privileged interpreter.  That is one Pandora's box
  39. that Digital has left unopened.  It's too bad, of course.  It would be
  40. nice if it were there, but there's nothing an external image can do that 
  41. a lexical could do much better.
  42.  
  43. #    Just asking.. Luke.
  44.  
  45. I'm sure you realize that that question (as well as why there is no DCL
  46. compiler) has been asked many times.  The question is not stupid, nor
  47. is the answer: it opens up too many cans of worms to allow user modification
  48. (including putting in the appropriate hooks) to the command interpreter 
  49. which everything in VMS depends on, from bootstrap sysinit phase and on.
  50.  
  51. Ehud
  52.  
  53. --
  54. Ehud Gavron        (EG76)     
  55. gavron@vesta.sunquest.com
  56.