← Prev in month ← Prev in thread

Re: [xml-dev] Push / pull model

From
Richard Tobin <>
To
Date
2002-09-20T17:14:37Z
ID
<>
Thread
Re: [xml-dev] Push / pull model
In article <> you write:

>> Granted, the event model does require you to turn your head around
>> compared to ordinary programming, but that's easily done, and once
>> done event-based programming is very easy.

>Again, I would like to see anyone write a recursive descent compiler (or
>similar analyzer) using a lexer level that pushes events.  The natural
>and readable becomes a vast wasteland of parser tables and gibberish.

It's also much easier to deal with multiple input streams with a pull
parser.  How do you write a simple diff-like program with SAX?

-- Richard
← Prev in month ← Prev in thread