Lists Home |
Date Index |
In article <200209191501.LAA27747@mail2.reutershealth.com> 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?