[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Comparing symbol-with-position using eq
From: |
Clément Pit-Claudel |
Subject: |
Re: Comparing symbol-with-position using eq |
Date: |
Sat, 6 Apr 2019 08:23:49 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
On 2019-04-05 17:54, Alan Mackenzie wrote:
> I've been thinking that for the time (nearly 3 years) that I've been
> trying to fix this bug. Is this how compilers for other Lisp systems are
> written? It seems horribly easy to compile as Emacs does, by taking the
> (read) starting form and gradually transforming it as a Lisp form. It is
> difficult to keep track of (text) source positions when one does this.
The following page might be of interest, about how Racket does this sort of
things: https://docs.racket-lang.org/reference/Syntax_Quoting__quote-syntax.html
The idea is that macros (not just the byte-compiler) may want to access
position information, to issue better diagnostics. This is useful for small
languages implemented using macros, like cl-loop.
Clément.
- Re: Help please! To track down GC trying to free an already freed object., (continued)
- Re: Help please! To track down GC trying to free an already freed object., Alan Mackenzie, 2019/04/02
- Re: Help please! To track down GC trying to free an already freed object., Daniel Colascione, 2019/04/02
- Re: Help please! To track down GC trying to free an already freed object., Alan Mackenzie, 2019/04/02
- Re: Help please! To track down GC trying to free an already freed object., Alex, 2019/04/05
- Re: Help please! To track down GC trying to free an already freed object., Alan Mackenzie, 2019/04/05
- Comparing symbol-with-position using eq (was: Help please! To track down GC trying to free an already freed object.), Alex, 2019/04/05
- Re: Comparing symbol-with-position using eq, Alan Mackenzie, 2019/04/05
- Re: Comparing symbol-with-position using eq, Daniel Colascione, 2019/04/05
- Re: Comparing symbol-with-position using eq, Alan Mackenzie, 2019/04/05
- Re: Comparing symbol-with-position using eq, Paul Eggert, 2019/04/05
- Re: Comparing symbol-with-position using eq,
Clément Pit-Claudel <=