[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to add source position information to readers
From: |
Arun Isaac |
Subject: |
How to add source position information to readers |
Date: |
Wed, 06 Apr 2022 15:11:13 +0530 |
Hi,
I noticed a TODO item[1] about adding source position information to the
outline reader. I'd like to add source position information for the
Gemtext reader, but don't know how. Some guidance would be very helpful.
Specifically, readers return S-expressions and as far as I know, there
is no way to include source position information within S-expressions. I
know that guile's syntax objects and read-syntax support source
properties. Should we be migrating all skribilo code to use something
like that?
Thanks,
Arun
[1]:
https://git.savannah.nongnu.org/cgit/skribilo.git/tree/src/guile/skribilo/reader/outline.scm?id=fb51be990a4bb8fb76373b519edfcf11390dcca1#n49
- How to add source position information to readers,
Arun Isaac <=