Re: Q: How to parse stream of text (from java.io.Reader) via instaparse with minimal input consuption

2015-01-16 Thread Henrik Heine
Hi, instaparse does not support readers and it cannot at the moment mainly because it uses JDK RegEx which do not support readers (thanks to Mark Engelbert for supplying this info). IMHO you cannot greedyly consume a reader and then decide that a match was not found due to the side-effect of t

Re: Q: How to parse stream of text (from java.io.Reader) via instaparse with minimal input consuption

2015-01-16 Thread David Pidcock
If you have any control over the writer end you could also choose a specific terminal character that is not otherwise in your grammar and insert it before the next data set. Then you could be assured of a full parse. -- You received this message because you are subscribed to the Google Groups

Re: [ANN] Clojure 1.7.0-alpha5 now available

2015-01-16 Thread Alex Miller
Just to follow up on this, Tom reported to me on Twitter that the box giving slow results was bad and the regression was not repeatable on another box. Alex On Monday, January 12, 2015 at 12:37:05 PM UTC-6, tcrayford wrote: > > I said this already on twitter, but I see heavy (5-10x slower) perf