OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Push / pull model

[ Lists Home | Date Index | Thread Index ]


John Cowan wrote:

> Lars Marius Garshol scripsit:
> > 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.

Agreed, this would be completely unnatural for a
recursive-descent parser, but event-driven I/O would
be a natural fit for LALR parsers.  It would work well 
for LEX-style lexical analyzers too.


--Joe English

  jenglish@flightlab.com




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS