Re: Question about attempt parser in parsatron

2014-01-29 Thread Kashyap CK
Thanks Nate ... this is awesome ... I've started off with a pdf parser actually and it seems to work fine .. changing the byte array into sequence and using it with Parsatron .. I'll share the github link shortly... On Wednesday, January 29, 2014 12:25:14 AM UTC+5:30, Nate Young wrote: On

Question about attempt parser in parsatron

2014-01-28 Thread Kashyap CK
Hi, The attempt parser does not work as expected for me. Perhaps my understanding is not correct. I the following code I was hoping that parsatron would attempt to parser hello and fail. Resulting no consumption of input due to attempt. However, when I run this code, the parser fails saying

Re: Question about attempt parser in parsatron

2014-01-28 Thread Nate Young
On Tue, Jan 28, 2014 at 8:31 AM, Kashyap CK ckkash...@gmail.com wrote: The attempt parser does not work as expected for me. Perhaps my understanding is not correct. I the following code I was hoping that parsatron would attempt to parser hello and fail. This is actually exactly what happened,