Nick Vlassopoulos wrote:
> Hi Andreas,
>
> Thanks for your fast reply!
> So it should be something like a "line parser" that's instatiated for 
> each line of the BODY section!
>
No - you don't want to do this really, you will create millions of 
malloc/free calls - go with the custom input stream I mentioned and you 
will be fine. It sounds like you can easily pick out the faked EOF 
points without parsing them.

What is the input? If it is just millions of data elements, then you 
could parse the headers, then have the input stream traverse the data 
points with a little custom code, until the next header is seen.

Jim

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to