« first day (3188 days earlier)      last day (592 days later) » 

7:46 AM
posted on July 24, 2019 by brotherdamian

Hi! I am interested in learning Parse better and decided to attempt an email validator. However, my solution gives false to a pattern that should be standard enough and I hope that someone could see where I made a mistake, as I feel quite lost. Please note that I am not asking for a good email validator but aim instead to enhance my knowledge of Rebol’s Parse, and thus I am more interes

 
 
3 hours later…
10:34 AM
posted on July 24, 2019 by @hostilefork Brian Dickens

@hostilefork wrote: This is a vision statement for using the new @word, @pa/th, @[bl o ck] and @(gr o up) datatypes for an interesting purpose. The idea is to have a way to mark an argument conveniently as controlling a refinement--without naming that refinement, or needing a specialization of the function dispatched through a different name. Perhaps i

2
 
 
1 hour later…
11:34 AM
I know it has been discussed here before but I plan to make it final, that you cannot put NUL #{00} bytes in strings. They will be prohibited just like any invalid UTF-8 byte sequence, e.g. "not all BINARY! are valid ANY-STRING!".
red>> to string! #{000000}
== "^@^@^@"
e.g., none of that. If one wants to stay Amish in one's programming, one would like one's C APIs to give you back string data in a single pointer terminated by a NUL, without having to track a byte count. I think that is a good purpose for the BINARY! vs. string distinction.
 
 
5 hours later…
4:52 PM
Quick Q, an easy one, I'm sure:
If I want to add a group! to a block! so I can COMPOSE that block later, how can I append or insert the group! to the block without it reducing? E.g.,
myblk: copy []
mygrp: (1 + 2)
>> append myblk mygrp
== [1 + 2]
... when I want:
== [(1 + 2)]
Note, that initial mygrp assignment should read mygrp: '(1 + 2)
 
 
2 hours later…
7:10 PM
@Edoc this is the very append/only issue we are discussing :)
 
7:28 PM
@HostileFork Ok. :)
I thought we were discussing better/cleaner ways of achieving something, not that there were no avail workarounds.
 
8:29 PM
@Edoc It's achievable, use append/only ! :-) but I think you should not have to..
 
8:46 PM
@HostileFork <smacks forehead>
 
9:40 PM
@Edoc proving once again my point!
It's bad ergonomics and "we can fix it"
 
10:07 PM
The compose features will dovetail with modal arguments, just as they dovetail with generalized quoting. compose [append data @(your expression here)]. I have a feeling, though it is early, that the problem is solved.
 
@HostileFork Q.E.D.
 

« first day (3188 days earlier)      last day (592 days later) »