« first day (2099 days earlier)      last day (1681 days later) » 

12:03 AM
The idea of set, get, and lit forms of everything seems more reasonable as time goes on. This would also make it possible to give life to these otherwise-inert types. :<*> would get it even though it was evaluator-inert by default. Of course the big trick here is how to handle the decision of binding at load time, to avoid paying for weird bindings and filling objects with things you don't want...but that's already kind of an issue.
 
 
3 hours later…
3:24 AM
Just to try to be clear, by "all dialects have to be Rebol/Ren", first, I was only talking about block dialects, and second, that's still not saying they all have to be DO, it's more like saying all block dialects have to work with words, dates, paths, etc., all and only the base (item) datatypes, specified according to the Rebol/Ren syntax.
In other words, if there ever is a math dialect, it will be different from DO in how it evaluates a + b * c, perhaps, but not in that that parses as 5 words.
The items become the "characters" of the dialect, and the shifting and reducing parses them out into "tokens" and expressions.
Sorry to be so boring, I am sure you knew all that already, but, as I say, just to be clear.
 
 
5 hours later…
8:05 AM
@MarkI Btw, there is a math dialect implemented in a BNF style and for fun I've just made a Pratt style alternative for Ren-C and Rebol 2.
3
 
8:45 AM
posted on July 30, 2016 by Astral

REBOL 4.5 - release  - direct download link NEW 2016 https://www.freeware.de/dl2/baby-basic/dll2/43594/

 
 
2 hours later…
10:45 AM
RT @korsch: Hrm; #REBOL.com has been suspended.
 
 
3 hours later…
2:15 PM
@HostileFork I'm still inclined against it, but not wholly opposed—would prefer flexible tags vs. more symbols in the word space. At least to be able to use HTML/XML comment tags and multiline tags as now, though I don't have any reason to support the solo > terminator.
@RebolBot
<!--
    Don't untag me yet :)
-->
 
; Brought to you by: try.rebol.nl
== <!--
Don't untag me yet :)
-->
 
Hmm—somewhere in the RebolBot chain, the spacing got removed from the stringy tag...
@RebolBot
type? probe <!--
    Don't untag me yet :)
-->
 
; Brought to you by: try.rebol.nl
<!--
Don't untag me yet :)
-->
== tag!
 
Incidentally, is there anything to be said for double angle-brackets being used for non-block literal types? <<none>> <<true>> <<false>> <<string!>>
Could work for blocks too: <<[string! "Foo" 2]>>
>> mold next "Foo"
== <<[string! "Foo" 2]>>
 
 
2 hours later…
4:30 PM
@rgchris I think that, bowing to HTML so heavily, vs. biasing to code, is a big mistake.
Whether it's a floating > or a floating -->, I think it's better for it to be a word.
Clearly all bets are off in strings, so one could use that to argue "you always have to trust some lexical context or syntax highlighter or something, at an arbitrary distance"
But I would really rather that be a very, very simple { } rule if you're looking at multiple lines.
And I still wonder, in terms of giving something useful vs. not, if the "supertag" idea has merit, where naturals are pair-checked with Rebol syntax inside the tag. Is it more useful to allow <(> or to only lexically load <()>?
That was the concept that once you hit a ( or [ in the tag, not in quotes, it kicks over to the Rebol code parser, but only for validation purposes...it makes sure it can load as Rebol but still makes it a string afterward.
@rgchris Wordy compared to <[string! "Foo" 2]>, in any case.
I should point out that Ren-C currently uses single argument construction syntax to be compatible with make. So #[string! ["Foo" 2]] for instance, the idea being that if you say make string! ["Foo" 2] that's what it does. The double block is annoying so I do think construction syntax needs to go the way of string@["Foo" 2] or something.
I don't know if this idea will stick in light of recent TO and MAKE methodization ideas. Construction syntax is a really big issue, and is one of many giant gaping holes conceptually.
@RebolBot
o1: make object! [x: 1 unset 'x]
m: mold/all o1
print m
o2: load m
print o1 = o2
 
4:52 PM
; Brought to you by: try.rebol.nl
#[object! [
    x: #[unset!]
]]
false
 
@redbot
o1: make object! [x: 1 unset 'x]
m: mold/all o1
print m
o2: load m
print o1 = o2
 
; Brought to you by: try.rebol.nl
make object! [
    x: unset
]
false
 
 
2 hours later…
6:50 PM
posted on July 30, 2016 by greggirwin

Added SCALAR? and IMMEDIATE? by greggirwin

 

« first day (2099 days earlier)      last day (1681 days later) »