|Parsing a text stream email@example.com (2004-04-28)|
|Re: Parsing a text stream firstname.lastname@example.org (Dmitry A.Kazakov) (2004-04-29)|
|Re: Parsing a text stream email@example.com (2004-05-02)|
|Re: Parsing a text stream firstname.lastname@example.org (Pete Jinks) (2004-05-02)|
|Re: Parsing a text stream Postmaster@paul.washington.dc.us (Paul Robinson) (2004-05-24)|
|From:||email@example.com (Gopi Bulusu)|
|Date:||2 May 2004 21:54:24 -0400|
|Posted-Date:||02 May 2004 21:54:24 EDT|
> So in a summary, what I'm looking for is something with Lexical
> Parsers capability and at the same time being able to handle errors
> (whether by telling it, or make a new error handling mechanism) such
> as what I said above.
Good question ! I do believe the solution is to define grammar rules
that can be used in a hierarchical manner, for example -- first try
matching program, if that fails a statement, then a token etc.
We allow this approach in our dynamic model driven translation
framework (SANKHYA Translation Framework).
For more information, please visit:
Please e-mail me if you need any more help.
Btw, the neat thing is, if use STF, you can also specify the syntax
coloring directives (for example HTML annotations) in the grammar
file, effectively placing both the grammar and the syntax coloring
in a single model, that can be loaded dynamically by the consumer
Gopi Kumar Bulusu
Sankhya Technologies Private Limited
Tel: +91 891 554 2666
Fax: +91 891 554 2665
Return to the
Search the comp.compilers archives again.