Re: Reviving E4X (H4E)?

On Tue, Nov 22, 2011 at 10:37, Alex Russell <slightlyoff@google.com> wrote:
> On Sun, Oct 23, 2011 at 5:22 AM, Dominic Cooney <dominicc@chromium.org> wrote:
>> Quasis don’t provide a means for accurate error reporting, ie line and
>> column numbers. (Since quasis seem designed for embedding DSLs, this seems
>> like a shortcoming?)

This is true right now, but if the quasi were changed to include the
file, line number and char offset of the open quote and the number of
lines and length of last line for each substitution, then position
info is recoverable with the exception of tab columns introduced
inside substitutions.

Received on Tuesday, 22 November 2011 15:44:25 UTC