🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools
Article #770

Templates for new languages under PWB

#770
From: Jonathan M. Gilligan
Date: Sat, 21 Nov 1992 17:30
29 lines
1879 bytes
I want to use PWB to write code using the CWEB protocols (for those
who don't know, CWEB is a coding protocol developed by Donald Knuth
and Silvio Levy for literate programming. You code in CWEB format and
preprocess the code through a preprocessor called CTANGLE to produce C
code and through another preprocessor called CWEAVE to produce a
typeset crossreferenced listing of your code, complete with table of
contents, index of concepts, and index of code. Knuth used this to
write TeX and METAFONT---the published listings of the code (TeX, the
Program and METAFONT, the Program, Volumes B and D of Computers in
Typesetting, published by Addison Wesley) are unadulterated output
from the PASCAL version of WEAVE, run through TeX.)

Anyway, I want to add a language option to the PWB templates that will
let me specify CWEB as a language, so NMAKE will automatically call
CTANGLE on the CWEB source before calling the cl compiler.

Neither the Comprehensive Index, the Index to the Environment and Tools
manual, nor the Index to the PWB online help tell me what I need to do
to add new Language options to PWB. Where can I find this information
(or under what mysterious entry do I need to look in the index)? Is
there any sample code anywhere showing what I need to do?

---Jon

Disclaimer --- The government probably disagrees with my opinions.
-- 

Disclaimer --- The government probably disagrees with my opinions.
Technical Details
Message-ID: <7055@dove.nist.gov>
Path: arc1-ca.pugleaf.net!sparky!uunet!dove!gilligan
References: <1egqv1INN2n2@cat.cis.Brown.EDU> <1egsjsINN40m@cat.cis.Brown.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dove!gilligan
From: gilligan@bldrdoc.gov (Jonathan M. Gilligan)
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Templates for new languages under PWB
Message-ID: <7055@dove.nist.gov>
Date: 21 Nov 92 17:30:39 GMT
References: <1egqv1INN2n2@cat.cis.Brown.EDU> <1egsjsINN40m@cat.cis.Brown.EDU>
Sender: news@dove.nist.gov
Organization: National Institute of Standards and Technology
Lines: 29