Related articles |
---|
parsers for decoding network protocols? scott@projtech.com (Scott Finnie) (2002-05-27) |
Re: parsers for decoding network protocols? s4015614@student.uq.edu.au (Mr Kennie Nybo Pontoppidan) (2002-05-31) |
Re: parsers for decoding network protocols? joachim_d@gmx.de (Joachim Durchholz) (2002-06-02) |
From: | "Joachim Durchholz" <joachim_d@gmx.de> |
Newsgroups: | comp.compilers |
Date: | 2 Jun 2002 01:40:04 -0400 |
Organization: | Compilers Central |
References: | 02-05-150 02-05-154 |
Keywords: | parse |
Posted-Date: | 02 Jun 2002 01:40:04 EDT |
Mr Kennie Nybo Pontoppidan wrote:
>
> The parsing techniques I know all accept on an 'EOF' token. What is
> the connection equivalent of EOF?
Simply don't associate semantic actions with the top-level, do
whatever has to be done whenever an incoming message has been
recognized. (Note we're talking about parsers, not lexers. Acceptance
isn't that important during a parse, most work is done while parsing
subconstructs.)
Regards,
Joachim
Return to the
comp.compilers page.
Search the
comp.compilers archives again.