home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / mswindo / programm / tools / 1482 < prev    next >
Encoding:
Internet Message Format  |  1992-11-21  |  1.8 KB

  1. Path: sparky!uunet!dove!gilligan
  2. From: gilligan@bldrdoc.gov (Jonathan M. Gilligan)
  3. Newsgroups: comp.os.ms-windows.programmer.tools
  4. Subject: Templates for new languages under PWB
  5. Message-ID: <7055@dove.nist.gov>
  6. Date: 21 Nov 92 17:30:39 GMT
  7. References: <1egqv1INN2n2@cat.cis.Brown.EDU> <1egsjsINN40m@cat.cis.Brown.EDU>
  8. Sender: news@dove.nist.gov
  9. Organization: National Institute of Standards and Technology
  10. Lines: 29
  11.  
  12.  
  13. I want to use PWB to write code using the CWEB protocols (for those
  14. who don't know, CWEB is a coding protocol developed by Donald Knuth
  15. and Silvio Levy for literate programming. You code in CWEB format and
  16. preprocess the code through a preprocessor called CTANGLE to produce C
  17. code and through another preprocessor called CWEAVE to produce a
  18. typeset crossreferenced listing of your code, complete with table of
  19. contents, index of concepts, and index of code. Knuth used this to
  20. write TeX and METAFONT---the published listings of the code (TeX, the
  21. Program and METAFONT, the Program, Volumes B and D of Computers in
  22. Typesetting, published by Addison Wesley) are unadulterated output
  23. from the PASCAL version of WEAVE, run through TeX.)
  24.  
  25. Anyway, I want to add a language option to the PWB templates that will
  26. let me specify CWEB as a language, so NMAKE will automatically call
  27. CTANGLE on the CWEB source before calling the cl compiler.
  28.  
  29. Neither the Comprehensive Index, the Index to the Environment and Tools
  30. manual, nor the Index to the PWB online help tell me what I need to do
  31. to add new Language options to PWB. Where can I find this information
  32. (or under what mysterious entry do I need to look in the index)? Is
  33. there any sample code anywhere showing what I need to do?
  34.  
  35. ---Jon
  36.  
  37. Disclaimer --- The government probably disagrees with my opinions.
  38. -- 
  39.  
  40. Disclaimer --- The government probably disagrees with my opinions.
  41.