[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Reading CSV
- From: Sean Conner <sean@...>
- Date: Tue, 3 Dec 2013 23:52:05 -0500
It was thus said that the Great Andrew Starks once stated:
> Hey Sean,
Hey Andrew,
> I'm replying to the post you did on using LPeg with partial data...
>
> Couldn't you modify the LPeg grammar to something along the lines of:
>
> records= record * record^0 * (partial + -1)
>
> And then append partial to the next chunk?
Probably, that thought didn't occure to me. I approached the problem as I
did the readline code.
> I haven't tried to implement that, so it could be harder than it looks.
The only way to know is to try it 8-)
-spc