Grammars and biological data formats

2014-08-09 Thread Fields, Christopher J
(accidentally sent to perl6-lang, apologies for cross-posting but this seems more appropriate) I have a fairly simple question regarding the feasibility of using grammars with commonly used biological data formats. My main question: if I wanted to parse() or subparse() vary large files (not

Re: Grammars and biological data formats

2014-08-09 Thread timo
(accidentally sent this privately only, now re-sending to the list) Hello Christopher, In the Perl 6 specification, there are plans for lazy and memory-releasing ways to parse strings that are either too large to fit into memory at once or that are generated lazily (like being streamed in

Re: Grammars and biological data formats

2014-08-09 Thread timo
On 08/10/2014 12:21 AM, t...@wakelift.de wrote: Something that does surprise me is that your tests seem to imply that :p for subparse doesn't work. I'll look into that, because I believe it ought to be implemented already. Perhaps not properly hooked up, though. On #perl6 I got corrected

Re: Grammars and biological data formats

2014-08-09 Thread Darren Duncan
I've already been thinking for awhile now that parsers need to be able to operate in a streaming fashion (when the grammars lend themselves to it, by not needing to lookahead, much if at all, to understand what they've already seen) so that strings that don't fit in memory all at once can be

Re: Grammars and biological data formats

2014-08-09 Thread Fields, Christopher J
On Aug 9, 2014, at 5:25 PM, t...@wakelift.de t...@wakelift.de wrote: On 08/10/2014 12:21 AM, t...@wakelift.de wrote: Something that does surprise me is that your tests seem to imply that :p for subparse doesn't work. I'll look into that, because I believe it ought to be implemented