Next: diff-fonts-in-text Prev: invisible-code Up: april91-new-ideas Top: Top

0.9.1.8. Plain text in your code

In Knuth's WEB, you can refer to code-things in the text parts of the document/program and to text-things in your code. (As I recall, putting `|' around text switches it to whatever-you're-not-doing-now (code or text)).

We have the first (the `@...@' shorthand to refer to code things while in text), but not the second: what's in a code environment is code just like you would see in an illiterate program in the same language.

I guess the right solution is to have specially-marked comments (again, language-dependent) that say, "Don't treat this as just a comment in this programming language, but extract it and mangle/massage it as if it were literate-document text."

A pain to implement. Not worth it?