[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NYACC: getting source location info?

From: tomas
Subject: NYACC: getting source location info?
Date: Fri, 10 Jul 2020 22:37:43 +0200
User-agent: Mutt/1.5.21 (2010-09-15)


I'm having some fun with NYACC (thanks, Matt!).

To help debugging things and for errors and warnings, it'd be nice
to "know" where the current LHS non-terminal starts in the source.

Its endpoint is (is it?) (port-line (current-input-port) [and, of
course, (port-column ...)] -- at least some playing around suggest
that (and it makes sense, somehow).

Is there anything I've overlooked? Or do I have to hack the (or
roll-my-own) lexer for that?

Thanks for any insight

-- t

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]