On 11/28/07, Jared Williams jared.williams1@ntlworld.com wrote:
I create a DOM tree as it parses, which eliminates advantages 2 & 3.
Right. I'm building an AST as well. I didn't say, "Let's change the semantics of apostrophes because I can't parse them", I'm saying "Let's change the semantics of apostrophes because they don't work well and because they're hard to parse."
In general, the easier the grammar is to parse, *without* having to build a tree and then manipulate it, the better.
But the real argument here is that the bold->italics conversion works very badly, and could be improved.
Would my suggested change have any downsides?
Steve