⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 著名算法大师高爷爷设计的语言。此语言结合了Tex和C
💻
字号:
This directory contains several files for programs that are tutorialand/or useful. If you are new to CWEB, read "wc.w" first; it's atypical example of CWEB applied to system programming.The Makefile on this directory is a generic way to build applicationswritten in CWEB. Say, for example, "make wc" to get an executableprogram "wc" from wc.w. Say "make wc.dvi" to get a printable listingof its documentation. The program "wc" is a slight improvement overUNIX's standard word-count utility. (Try it, for example, with "wc *".)The treeprint program, by Norman Ramsey, generates tree-structuredrepresentations of file hierarchies. To use it, say "make treeprint.run"and then   find dir -type p -print | sort | treeprint(on a UNIX system), where dir is a directory with interesting subdirectories.The wmerge program, by Silvio Levy, produces a single CWEB file from agiven CWEB file and a change file. It expands any "web include" (@i)specifications in the original CWEB file. To use it, say "make wmerge.run"and then, e.g., "wmerge foo.w bar.ch > foobar.w". Both CTANGLE andCWEAVE already accept change files, so you need not merge anything yourselfin normal day-to-day operations; but wmerge can be useful in connection withthe spelling checker described below.If you intend to read the source code of CTANGLE and CWEAVE, you maywell wish to read wmerge.w first, or the hardcopy version obtained from"make wmerge.dvi"; it is similar but much simpler.The extex and wordtest programs, by Don Knuth, are useful spellcheckers.After "make extex.run" say also "ln extex excweb"; this givesyou two filter programs, extex and excweb, that remove extraneousmaterial from TeX and CWEB source files, respectively. To use them,you can say for example   cat foo.w | excweb | spell(or replace "cat foo.w" with "wmerge foo.w bar.ch"). A similar pipelinefor TeX files would be   cat foo.tex | extex | spellEven better is to replace "spell" by "wordtest /usr/local/lib/dict/words",if you have a suitable dictionary. One such dictionary in the public domaincan be found in directory ~ftp/pub/dict at ftp.cs.stanford.edu, availablevia anonymous ftp. To make your own dictionary from given ones,   cat dict1 dict2 dict3 dict4 | wordtest > wordsis quick and effective. See the documentation of wordtest for more info.A file kspell.el that provides an emacs user interface to extex+excweb+wordtestalso appears in this directory. (Somebody should write ELWEB...)The files xview_types.w and xlib_types.w are examples of @i (include) filesthat can be used when writing XView programs. They are based on the headerfiles in OpenWindows Version 3.0.An example XView application appears in Knuth's program oemacs.w, whichhe uses for heavy emacsing. It's not very portable, but if you haveOpenWindows3 and a Sun Type-4 keyboard you may like it as much as he does.(It replaces "emacstool".) The file oemacs.el goes with it.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -