![](https://secure.gravatar.com/avatar/326b108ffcc42f27628703b0c11ed239.jpg?s=120&d=mm&r=g)
26 Jun
2019
26 Jun
'19
4:27 p.m.
On Wed, Jun 26, 2019 at 5:19 PM Alexandre Rademaker <arademaker@gmail.com> wrote:
The “read” function makes really easy to read a bunch of s-expressions from a file, but how can I keep track of the line number where the expressions were in the file?
One way to do it is to define a stream that keeps track of the current line. Here's an example of such a stream: <https://github.com/cl-stream/cl-stream/blob/master/line-tracking-stream.lisp>. -- Luís Oliveira http://kerno.org/~luis/