Tue, 11 Dec 2001 14:28:50 +0100
At 04.40 +0100 2001-12-11, Donald Arseneau wrote:
>Chris Rowley <[log in to unmask]> writes:
>> Heh guys, wrong list! Please,
>OK...has consideration been given to using catcodes throughout
>a document that will facilitate \verb being used anywhere?
This task is more or less equivalent to the suggestions about emulating a
full Unicode character set in TeX3 by capturing everything using active
characters and translating it to control sequences which will represent the
proper Unicode character. Either task is certainly possible, but the
automaton you have to implement in TeX's mouth is _very_ large (it has to
emulate about a fifth of the compiled program TeX) and thus you pretty much
end up in:
1. It's possible, because you can implement lambda calculus in TeX's
mouth, and everything computable can be implemented in lambda calculus.
2. It's extremely unfeasible, since it will be grotesquely slow and use
much too much memory.
Letting some characters retain their catcodes can let you get by with a
smaller automaton, but then the \verb command won't work for those
characters and thus you haven't really won anything.