|
From: | Xinan Tang |
Subject: | RE: Multiple parsers |
Date: | Mon, 17 Mar 2003 09:45:03 -0800 |
Hi
We had such a discussion a few days back. In that time, my question is
how to support recursive parsing. Basically there are two cases in terms of
supporting multiple parsers: 1. Multiple parsers 2. Recursive parsers.
For case 1, please read the book “lex&yacc”
written by John R. Levine. For the case 2 please search the archive of the
mailing list. In anyhow case 1 is
much easier to handle than case 2. Xinan Tang Senior MTS Xambala Inc Ph #
(408)-436-2208 _________________________________________________ -----Original Message----- Hi, It is required
that I have multiple parsers that use the same lexer in my project. I am
aware of the prefixing notation that would enable having multiple
parsers/lexers but paired with the same names, and bison considers the lex to
be prefixed same as the parser spec. And I need to be able to invoke each
parsers individually. Is there a provision natively available in
bison/flex to do the above. Regds |
[Prev in Thread] | Current Thread | [Next in Thread] |