@plexus you there?
👋
It’s :from [line col]
but I’d like to also have :offset
and :len
I believe it depends a lot on the usecase (repl buffer vs eval form from editor)
I may be wrong ofc
for me the main thing I care about is figuring out which :eval
corresponds with the form I just sent. I think keeping track of a position in the output stream is a good way to do that.
having file/line/col could be useful when evaluating things inside a buffer, but that's bookkeeping that the client can also do
true... related question & consideration: should :set-source
reset offset to zero? (no) and :set-source
should communicate in a way or another when it starts to apply (if you send a :set-source
concurrently with an eval...
reset offset: I think not necessary. A message that :set-source
has become active seems like a good idea.
That’s messy.
I have to derive LineNumberingPushbackReader
bleh