From eda30ab087ab862623c811fc01a7ad3e50d2822f Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 10 Sep 2022 12:46:46 +0300 Subject: [PATCH] notes... Signed-off-by: Alex A. Naanou --- pwiki2.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pwiki2.js b/pwiki2.js index 814ea36..1cc155a 100755 --- a/pwiki2.js +++ b/pwiki2.js @@ -8,11 +8,18 @@ * XXX CACHE need to explicitly prevent caching of some actions/pages... * XXX the parser should handle all action return values, including: * - lists -- XXX -* - iterators -- XXX * - strings -- DONE * - numbers -- DONE * - misc: * dates -- ??? +* note that an action returning a list is not the same as a list +* stoted in .text -- since we can't identify what an action +* returns without calling it, and we only call actions on +* .raw/.text/.parse(..), we can't iterate over such results. +* Q: can we make a list reder as a list of pages?? +* ...likely no... +* ...would depend on where we iterate pages and on whether +* we can/should reach that spot from within the parser... * XXX FEATURE tags and accompanying API... * - add tags to page -- macro/filter * - .text -> .tags (cached on .update(..))