home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / compiler / 1829 < prev    next >
Encoding:
Internet Message Format  |  1992-11-10  |  1.9 KB

  1. Path: sparky!uunet!ogicse!das-news.harvard.edu!spdcc!iecc!compilers-sender
  2. From: dak@sq.sq.com (David A Keldsen)
  3. Newsgroups: comp.compilers
  4. Subject: Re: Is this a new idea?
  5. Keywords: performance, parse
  6. Message-ID: <92-11-020@comp.compilers>
  7. Date: 4 Nov 92 19:55:09 GMT
  8. Article-I.D.: comp.92-11-020
  9. References: <92-10-113@comp.compilers> <92-11-010@comp.compilers>
  10. Sender: compilers-sender@iecc.cambridge.ma.us
  11. Reply-To: dak@sq.sq.com (David A Keldsen)
  12. Organization: SoftQuad Inc., Toronto, Canada
  13. Lines: 32
  14. Approved: compilers@iecc.cambridge.ma.us
  15.  
  16. M.J.Landzaat@fel.tno.nl (Maarten Landzaat) writes:
  17. : [a compiler] that during my editing, reads the program text I typed in so
  18. : far, and tries to compile and link it as much as it can in the background,
  19. : with low priority so nobody gets bad response.
  20.  
  21. pcwu@csie.nctu.edu.tw (Wu Pei-Chi) writes:
  22. >Some researchers have being working on this dream for years. It was called
  23. >"incremental compiling" technique. Some of them are related with an
  24. >environment,so called language-based environment or syntax-directed
  25. >editor. A famous one is Synthesizer Generator, developed in Cornell
  26. >University.
  27.  
  28. A very nice overview of the Synthesizer Generator, and using it in an
  29. editing environment, can be found in _Generating Language Based
  30. Environments_ by Thomas W. Reps.  It's an MIT Press edition in the ACM
  31. Doctoral Dissertation Award (1983) series.  ISBN 0-262-18115-0
  32.  
  33. The approach is (roughly) to do as much as possible with an attribute
  34. grammar for the language in question, with attributes corresponding to
  35. the semantic subset of interest.  For example, one could check
  36. declarations and uses of variables for consistency.
  37.  
  38. Recommended reading.
  39.  
  40. Regards,
  41. Dak
  42. -- 
  43. David A. 'Dak' Keldsen of SoftQuad, Inc.
  44. email: dak@sq.com  phone: 416-239-4801
  45. -- 
  46. Send compilers articles to compilers@iecc.cambridge.ma.us or
  47. {ima | spdcc | world}!iecc!compilers.  Meta-mail to compilers-request.
  48.