« first day (3572 days earlier)      last day (208 days later) » 

5:32 AM
Don't everyone get too excited all at once, but I may have come up with a not terrible solution to generalized path dispatch.
However, there are some fairly deep epicycles to the "paths are not ANY-SERIES! containers" that I hadn't completely absorbed before. This means COMPOSE on a PATH! is not necessarily safe, e.g. item: 'a/b | path: compose 'some/(item)/path. I'd previously been using COMPOSE on paths like this and not thinking about the lack of generality of it.
An answer is possibly a low-level COMPOSE* that always produces a BLOCK!. Then COMPOSE can AS PATH! that result if the input was a path, and if it isn't legal you get an error.
But this means that if you for some reason have to pre-compose a path (e.g. because you plan to PICK and POKE into it multiple times and don't want the GROUP!s to get evaluated every time you do so for a path you've been given), then it will be turned into a BLOCK!. So tings like PICK and POKE need to operate in terms of blocks, not paths. pick obj [map-member a/b] for instance, as a flattening of obj/map-member/('a/b)
This actually reveals what the generalized path solution concept is: PICK and POKE operators that gnaw off as much of the block as they can process, and then generically re-dispatch the frame that was already built for the PICK or POKE. This lets them consume as much or as little of the path as they can understand, which allows subcell addressing strategies.
This would eliminate path dispatchers (PD_XXX) and their wily mechanisms. All that happens is paths are pre-composed and then a call to POKE or PICK is made. That call can implement itself however it likes, but one popular inexpensive option is advance the block index...update the generic value cell... and re-dispatch.
 
 
3 hours later…
8:33 AM
...as usual, devil in the details...I think various aspects are on the right track, but you need some amount of either foresight or backwards-propagation so that block/date/hour: 11:00 can manage to update the hour bits living in a particular DATE! cell of the block. If all you have at the moment of processing [hour] is a DATE! value, that's too late. Some part of the process has to be responsible for this "writeback", and you'd like BLOCK! and DATE! to be independent.
 
 
11 hours later…
7:35 PM
red>> array: [20-Oct-1975/03:04]
red>> array/1/year: 2020
red>> array/1/(loop 1000 [insert array <x>] recycle 'time): 04:21
; ^-- that shouldn't have been legal, where did it write those bits?

red>> array/2/(loop 1000 [insert array <x>] recycle 'time): 04:21
; ^-- this crashes
 

« first day (3572 days earlier)      last day (208 days later) »