grappa icon indicating copy to clipboard operation
grappa copied to clipboard

Create an `InputBuffer` over a `Reader`?

Open fge opened this issue 11 years ago • 0 comments

The InputBuffer is basically the character sequence used in a parsing run. Parboiled could build such buffers from plain Strings or char arrays.

Grappa added one for CharSequences (which basically obsoletes the runs over Strings since String implements CharSequence).

What about creating an InputBuffer over a Reader? And even from an InputStream (but then the encoding would be required to be specified)?

fge avatar May 20 '14 08:05 fge