summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylan Kammer <taylan.kammer@gmail.com>2026-01-07 13:26:42 +0100
committerTaylan Kammer <taylan.kammer@gmail.com>2026-01-07 13:26:42 +0100
commitb49af311220090c126be917993ba547cbf48bbaa (patch)
tree48bdbfe0dd3bcdd793462719017652011ee405e6
parentf6741b3ab4d300cae545962f5bda7c4a34dc3222 (diff)
Update a note.
-rw-r--r--notes/250219-reader.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/notes/250219-reader.md b/notes/250219-reader.md
index 503d402..4454783 100644
--- a/notes/250219-reader.md
+++ b/notes/250219-reader.md
@@ -514,7 +514,15 @@ Just to summarize what I actually ended up implementing in the end:
2. Wrap code snippets in one layer of quoting like `'(...)` which
will effectively protect nested uses of `#QUOTE` from the data
- decoder, since decoding is a breadth-first operation.
+ decoder, since decoding is a breadth-first operation. EDIT: No,
+ this won't work, since the decoder also decodes the contents of
+ quoted data, since otherwise `'(foo #(bar))` and such wouldn't
+ work as expected. I'll think of a solution later. Maybe there
+ could be a second implementation of `#QUOTE` for data files, and
+ it would not touch the contents at all; one can always run the
+ decoder again explicitly on some data. The code handling the
+ config file could explicitly decode these super-quoted code
+ snippets before evaluating them.
See here for full documentation of Zisp expressions as implemented: