From: | Mihai Christodorescu <mihai@cs.wisc.edu> |
Newsgroups: | comp.compilers |
Date: | 30 Jun 2000 12:21:32 -0400 |
Organization: | Compilers Central |
References: | 00-06-112 00-06-125 |
Keywords: | parse, tools |
On 30 Jun 2000 feriozi@my-deja.com wrote:
> It is hard for me to envision a case where multiple parses of the same
> stream would occur at the same time, or even in succession. The problem
> would be specifying the end marker, which must be a token outside of the
> grammar.
A case that come to mind is the parsing of HTML pages that include
{Java,J,VB}Script code. In this case two or more lexer/parser combos would
need to work on the same stream.
How is HTML + JavaScript parsing actually implemented? Does anyone
have any information about this (so I do not have to read the Mozilla
source code)?
Thanks,
Mihai
Mihai Christodorescu -=- mihai@cs.wisc.edu - http://www.cs.wisc.edu/~mihai
Return to the
comp.compilers page.
Search the
comp.compilers archives again.