We work in terms of forms. n'th form in the file, m'th subform, etc.
-
-
-
The editor can map that back graphically or to line/column. As a backup, we can also add annotate syntax object at read time.
- 1 more reply
New conversation -
-
-
All of the work on Scheme hygienic macros have been about avoiding this issue. They use syntax objects, not S-expressions. There's a lossy translation between them, but it doesn't lose you all the nice properties at all, no.
-
It's worth looking at Racket's approach to this problem. They have the most extensive support for this of any modern Lisp-family language.
End of conversation
New conversation -
-
-
In typical Lisp, s-expressions have no line-numbers and no annotations. In individual implementations DEFUN, DEFMACRO, ... may record source locations, source forms, ... But there usually isn't a general mechanism in the language. R6RS Scheme and related has syntax objects.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I wonder, did you use a stunt double while on the HoloLens 2-presentation, a ghostwriter for your tweets, scheduled tweets, or are you just really good at multitasking? :3c
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Summoning
#Lisp hackers to this thread.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.