Hi James,

*> **So I don't think it's an even comparison.*

Ralph's right. Awk, sed, and Perl can't programmatically change what syntax
is used for comments, whereas Roff *can*:

.ec A
.de test
This is a line. \" This is a comment
..
.test


The above snippet outputs:

This is a line. \" This is a comment


As you can see, comments can't be optimised away as "junk syntax", meaning
the lexer/parser **has** to take them into consideration.

Reply via email to