[m-dev.] proposal: tracking column numbers in text streams

Paul Bone paul at bone.id.au
Fri Nov 1 15:29:22 AEDT 2013

On Fri, Nov 01, 2013 at 03:08:21PM +1100, Julien Fischer wrote:
> Hi,
> I propose that we change io.text_input_streams so that in addition to
> keeping track of the line numbers, they also keep track of the column
> number.  Amongst other things this would allow us to associate column
> numbers with compiler error messages (after suitably modifying the term
> parser).
> We can always add "fast" versions of the various I/O operations that do
> not maintain the column number count, if the overhead involved is
> excessive.  (Assuming there is in-principle support for this, I'll
> measure the performance impact before committing anything anyway.)

Sounds resonable.

Paul Bone

More information about the developers mailing list