[plt-scheme] port -> file/line/column ?
Unfortunately, I think the answer, right now, for both questions
is a custom version of open-input-file, returning a custom port,
which allows to introspect on the file name.
Perhaps other would have a better idea.
Jim
In a message dated Tue, 8 Oct 2002 01:18:01 +0400 (MSD), lisovsky at acm.org writes:
> 1. Is it possible to turn lines-counting on for _every_ input port in a
> program (short of redefinition of 'open-input-file' and friends) ?
> I believe that the overhead will be low, in other Schemes
> input ports are
> always opened in this mode...
>
> 2. Any ideas about file name?