« first day (1930 days earlier)      last day (1850 days later) » 

5:35 AM
@giuliolunati Macros have longer names, TRY_GET_VAR_MUTABLE, things like that... github.com/metaeducation/ren-c/blob/…
These are becoming more complicated with specific binding.
 
5:57 AM
I wonder if ERROR! should be conditionally false.
There isn't a general convention of returning error values, but one might imagine something that did, and if it did then it seems having them be false could be useful in the interface.
@MarkI --^ Think on that one. Is there a danger to having something non-false and non-none be conditionally false? Already there is false/none... what possible damage could come from ERROR!s being false too?
Boolean conversion is overloadable in C++, to the point that you'd practically not want to use it, the only things that do are "null tests" like smart pointers being able to say they're false.
 
 
6 hours later…
11:46 AM
posted on February 12, 2016 by johnk-

Additional issue cleanup ideas from chat: 1. "I think that crash tickets should be marked as such, at least I find it important to know what can crash the interpreter." - use the crash status to label tickets as Type.crash 2. "in CureCode there is a "dismissed" value in the "status" field which means that the ticket has been dismissed. On the other hand, ticket/severity="not-a-bug" just means

 
12:18 PM
I am having trouble with the idea that print ["a" [b c] "d"] behave differently than stuff: [b c] print ["a" stuff "d"]. It's a design option and it makes some sense to say that if you get a block through a reference that it is more of an "unknown" than one you have literally, and the literal option is something you're likely not to do except with purpose...so "why not make that purpose a tight spacing level of print, that also reduces"
One problem with the idea is the same as for many other evaluative contexts that want to do special handling on blocks, namely that blocks aren't prohibited from participating in infix operations. So when processing print ["a" [b c] + [d e] "f"] you can't just go "oh, I hit [b c], it's a literal block, handle it specially" because [b c] + [d e] might have meaning and produce something else.
Another problem is that by inspection, it's not obvious when a block is an argument to an evaluation in progress vs. just sitting in a slot on its own.
When I hit these problems in trying to make FAIL, the tradeoff was that it only allowed simple references, no functions w/args. If a similar approach were taken for print, it would mean you could write print ["The value is" x] but not print ["The value plus one is" x + 1], you'd have to say print ["The value plus one is" (x + 1)]. As dialect design tactics go, it's a reasonable one...it opens up more space for the meanings of things while keeping the most common cases brief.
 
 
3 hours later…
3:15 PM
@MIT in Beijing tomorrow, Chinese grad student resumes work on the Red programming language from WHERE in Europe ? #rebol #icon #Oz #Mercury
 
 
5 hours later…
7:46 PM
posted on February 12, 2016 by hostilefork

This adds an /ONLY switch to PRINT in order to have it print a value without adding a newline, nor reducing it if it's a block. PRIN is then rewritten in terms of PRINT/ONLY (reducing blocks first). It also changes the nesting logic so that a block will only be reduced and handled in the "print dialect" if it appears literally. Hence print ["a" [reverse "hello"] "b"] will run the reverse

 

« first day (1930 days earlier)      last day (1850 days later) »