« first day (2567 days earlier)      last day (1213 days later) » 

4:38 AM
^-- I've got a tentative rebEval() going as proposed above, and reworked the C part of the REPL to be based on it. Which is looking pretty cool, if I do say so myself. But the lifetime issues with rigorous leak checking remain a big design point.
I think it's quite obvious that Red's approach of saying that if I wrote rebDo(rebWord("print"), rebInteger(1), rebInteger(2), rebInteger(3)... up to rebInteger(50), END) that by the time the rebDo got started it would actually get the 50th integer instead of the word "print"--because it had cycled around on the API handles given back is a bad idea.
But even if that doesn't seem obvious, what about rebDo(rebWord("print"), myMakeRebBlockRoutine(1, 50), END) where myMakeRebBlockRoutine() did those API calls. :-/
(substitute redXxx for rebXxx, note that they are using NULL instead of something smart like END, and their approach is undefined behavior in va_list-based variadics, and also note that I'm saying rebWord("print") would be inactive code as it should be...so you'd have to either just say "print" or rebEval(rebWord("print")) to get it to work.)
 
 
7 hours later…
11:59 AM
@GeekyI ^-- I don't know if you've been following, but libRebol is coming along on its goal to use the bit-twiddly layout of pointer detection to do some neat stuff with C APIs and variadics...will have to see what Red thinks of all of that. :-)
 
@HostileFork I've been busy with a new job, just logged in to check the status of redbolverse :-)
Work requires me to use r
Same filename endings, different language :p
 
@GeekyI I will avoid reading too much into the fact that in the internal sources we still haven't renamed the .r files to .reb. Mostly because the reason I didn't change it was to avoid disruption of Atronix's code, but... um... I really don't think it's the limiting factor at this point. :-)
 
12:15 PM
Yeah, not a problem for me either as I use Rstudio project files. So don't end up running rebol interpreter by accident
@HostileFork I think I like that to have in Red
More specifically, a binding between rebol and red
So I can do stuff like have a GU in Red, and run rebol
Vice versa
 
@GeekyI I don't know who will use both together but it will be interesting to see if the incentive ever arrives for someone to try it. Hopefully the source notations won't diverge to the point of not being able to exchange data relatively easily.
 
@HostileFork I'm not too familiar with how inter-process communication works FYI.
Thinking, realtime exhchange with port!s
I suppose dumping and reading text files could be a workaround
Won't be able to play with redbol for the near future tho
 
@GeekyI PORT!s are a sort of area where there's another "vacuum of design" IMO, the most notable thing about Rebol was (to me) the idea that you could say data: read http://example.com and get the results back, or break that down into a process of steps like port: open http://example.com | data: read port | close port. R3-Alpha started trying to introduce asynchronous models and it didn't go well.
@GeekyI Won't be finished in the near future, you have not much to worry about waiting. :-)
 
:D Maybe could use it in some office automation and see how others like it..
 
12:34 PM
@GeekyI Well do feel free to chime in on forum posts or in chat or anything. People get busy and can't make major contributions and that's okay, but good to keep things lively.
 
@Feeds this really is a very good beginners guide
 
@GeekyI Quite above average for the presentation level of many RebolRed things.
 
12:50 PM
BRING BACK PAIGE!!!! #rebol
 
 
4 hours later…
4:38 PM
@MarkI @ingo I can't really get the utf-8 everywhere idea out of my mind. Yes, it would mean that if you used some kind of index-based access to pick str/1, str/2, str/3 etc. that could be slow. But one could cache a bit saying if a string was just ASCII and dirty that bit upon insertion of a non-ASCII codepoint...ASCII could stay fast, and you'd only pay more than today for index access if you're using higher codepoints.
String REBVALs still have some extra bits in the cell...one platform pointer and some header bits, even on 32-bit platforms. Lined up with some extra bits in the series node it could be used to cache some kind of mutation detector so that you could tell if a cached offset to reflect the index had potentially gone bad. Then if a mutation might risk a false positive, you just run a GC to visit all the cells and avoid the possibility of a bad cache.
For anyone worried about performance, I have to say that the consequences of all the string conversions needed all over the place is pretty bad...one might be surprised how much lighter everything got, to make this not seem a burdensome cost. And it would permit the higher codepoints.
I've also mentioned how I like the idea of PARSE of a STRING! being able to grab out Rebol values as if it were the scanner, and having all the strings be UTF-8 makes that feasible.
And if you have a truly weird case where this performance curve can't fit your strange string manipulation task, you could convert it to a BLOCK! of CHAR!, do your weird thing that uses a bunch of disconnected mutators at random access positions in a high-codepoint string, and convert it back when you've finished your weird thing.
Because if you mutate through a given STRING! value, the cache bits could be updated to know the offset.
 
 
5 hours later…
9:45 PM
Build c390034 on 10-Nov-2017/1:31:21Z is now available for download. Please use debug builds and report issues. No warranty of fitness is implied.
These are the direct links for OSX x64, Win x64, Linux x64, and Android-arm.
 
 
1 hour later…
10:45 PM
0
Q: Rebol: Dynamic binding of block variables

ftlIn Rebol, there are words like foreach that allow "block parametrization" over a given word and a series, e.g., foreach w [1 2 3] [print w]. Since I find that syntax very convenient (as opposed to passing func blocks), I'd like to use it for my own words that operate on lazy lists, e.g map/stream...

 
I remember times, where I had to decide up front whether I wanted brackets or German umlauts in a text. I'd rather not go back there. Yay for utf8 everywhere.
 
@ingo I think it can work, with a bit of magic...and my suggestion to anyone with wild string manipulation tasks to turn into a BLOCK! of CHAR! is probably reasonable...especially if series operations on BLOCK! and STRING! are parallel.
 

« first day (2567 days earlier)      last day (1213 days later) »