« first day (3531 days earlier)      last day (249 days later) » 

6:51 AM
Tomorrow busy day, no programming. Maybe later today or friday a tiny timeframe to restart coding. (Always the hardest to get the mindset and all stuff ready).
 
 
9 hours later…
4:13 PM
After two days of driving travel, I am settled and plodding through boring bugs. If I can get all the current bugs out, I will begin with formalizing tests for the generators / yield stuff.
I really do want that PARSE feature I've called THEN where you can say the likes of "<<" copy value then ">>" instead of "<<" copy value to ">>" ">>" or "<<" copy value to ">>" skip skip
It's a technical oddity that would require a new mechanic. Sort of a parallel to enfix in the plain evaluator, where it "breaks the simpler rule" of pure prefix evaluation. This "breaks the simpler rule" of PARSE where copy value <rule> doesn't see only the endpoint of the rule's advancement, but the rule has a "match point" and a subsequent "advance point".
Up until now, "match point" and "advance point" are one and the same. So adding magic to allow them to be different is a big deal protocol-wise.
I'd imagine such magic might empower other interesting features, but that's one I'd use all the time.
 
 
3 hours later…
7:48 PM
posted on July 01, 2020 by @hostilefork Brian Dickens

@hostilefork wrote: @rgchris has been between a rock and a hard place... being a Rebol-style code believer with a large corpus, who hasn't been particularly served by either Red or Ren-C. Unwilling to jump ship for Python or other non-Rebol languages, this has kept him rather stuck in a Rebol2 world. To make the best of a bad situation, he has put fort

2
 
@HostileForksaysdonttrustSE I expect this will be popular.
 
 
2 hours later…
9:33 PM
Long and torturous chase down of a UTF-8 Everywhere bug in PARSE that had the most satisfying form of conclusion...deleting a lot of code that was no longer necessary because Ren-C had over time developed a common enough structure so that FIND and PARSE need not do their own independent handling of what "finding a thing in a thing" means.
So when you say something like parse "<abc>" [<abc>] in R3-Alpha, in order for the series underlying the TAG! to know that the delimiters should be counted as rendered in the match...that was separate code in PARSE.
Anyway, the bug was due to some residual non-shared code, and trying to take the "length" of a series without having an associated value. But when a string series or word spelling can be aliased as a BINARY! value, then you can't know the intent of what "length" means from the series node alone. You can guess, but you might guess wrong. It was guessing wrong and thinking a binary parse had gone out of bounds when the byte index was past the codepoints in UTF-8 length.
Tough one to find, because it only happened at the very end of a long test log, due to the relatively low skew of byte count and codepoint length. You have to be doing a very certain kind of match in that tail differential.
 
 
1 hour later…
10:49 PM
@HostileForksaysdonttrustSE Well done.
 

« first day (3531 days earlier)      last day (249 days later) »