[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Correct line/column numbers in byte compiler messages [Was: GNU is l
From: |
Stefan Monnier |
Subject: |
Re: Correct line/column numbers in byte compiler messages [Was: GNU is looking for Google Summer of Code Projects] |
Date: |
Fri, 20 Mar 2020 19:46:26 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> properties", but from reading
> https://www.gnu.org/software/guile/manual/html_node/Source-Properties.html
> it seems that it might use something similar to your approach?
It seems that Guile does it along the lines of "fat cons cells"
according to their example:
scheme@(guile-user)> (xxx)
<unnamed port>:4:1: In procedure module-lookup:
<unnamed port>:4:1: Unbound variable: xxx
scheme@(guile-user)> xxx
ERROR: In procedure module-lookup:
ERROR: Unbound variable: xxx
where only the code with a cons-cell gets location information.
That's also what the earlier text says:
The way that source properties are stored means that Guile cannot
associate source properties with individual symbols, keywords,
characters, booleans, or small integers.
Tho, IIUC it seems that rather than "fat cons cells" they may be using
a hash-table indexed with the object (cons-cells or otherwise).
Stefan
- Re: Correct line/column numbers in byte compiler messages, (continued)
- Re: Correct line/column numbers in byte compiler messages, Andrea Corallo, 2020/03/21
- Re: Correct line/column numbers in byte compiler messages, Alan Mackenzie, 2020/03/22
- Re: Correct line/column numbers in byte compiler messages [Was: GNU is looking for Google Summer of Code Projects], Rocky Bernstein, 2020/03/19
- Re: Correct line/column numbers in byte compiler messages [Was: GNU is looking for Google Summer of Code Projects], Stefan Monnier, 2020/03/19
- Re: Correct line/column numbers in byte compiler messages [Was: GNU is looking for Google Summer of Code Projects], Alan Mackenzie, 2020/03/20
- Re: Correct line/column numbers in byte compiler messages [Was: GNU is looking for Google Summer of Code Projects], Stefan Monnier, 2020/03/19
- Re: Correct line/column numbers in byte compiler messages [Was: GNU is looking for Google Summer of Code Projects], Stefan Monnier, 2020/03/19
- Re: Correct line/column numbers in byte compiler messages [Was: GNU is looking for Google Summer of Code Projects], Alan Mackenzie, 2020/03/20
- Re: Correct line/column numbers in byte compiler messages [Was: GNU is looking for Google Summer of Code Projects], Rocky Bernstein, 2020/03/20
- Re: Correct line/column numbers in byte compiler messages [Was: GNU is looking for Google Summer of Code Projects], Clément Pit-Claudel, 2020/03/20
- Re: Correct line/column numbers in byte compiler messages [Was: GNU is looking for Google Summer of Code Projects],
Stefan Monnier <=
- Re: Correct line/column numbers in byte compiler messages [Was: GNU is looking for Google Summer of Code Projects], Stefan Monnier, 2020/03/20
Re: GNU is looking for Google Summer of Code Projects, Zhu Zihao, 2020/03/22