[antlr-interest] How get the parsing progress from parser?
Martin Probst
mail at martin-probst.com
Mon Apr 3 05:45:24 PDT 2006
> I’ve a C# Parser and I’m runing this as a thread.
>
> My problem is, I need some feedback from parser (e.g. if parsing process
> complete)
The easiest way is probably to build a custom InputStream (or whatever
it is in C#) and have that report progress on InputStream.get() (resp.
whatever it is in C#). So you get the progress on the input
file/text/whatever, which should be pretty precise.
Martin
More information about the antlr-interest
mailing list