|Handling streaming input firstname.lastname@example.org (Sriyansa) (2004-12-30)|
|Re: Handling streaming input cfc@shell01.TheWorld.com (Chris F Clark) (2004-12-31)|
|Date:||30 Dec 2004 00:55:37 -0500|
|Posted-Date:||30 Dec 2004 00:55:37 EST|
I am trying to write a parser module which takes in a streaming input
and converts it to an operation stack. All the steps (char stream ->
token stream -> operation stack) are asynchronous and the modules read
from and write into incomplete data structures.
The grammar for the parsing is itself not very complicated and I could
use ANTLR to generate the parser. However, embedding the code for the
customized I/O (a significant piece) in the grammar file does not look
Now the questions:
1. Is there any other parser generator more suitable for such a task?
2. Or am I missing something in ANTLR irself?
3. If I have to change the ANTLR source to allow for such I/O where do
Return to the
Search the comp.compilers archives again.