• Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r4wp

[#Red] Red language group

Kaj
1-Nov-2012
[3237]
hello-Unicode is a Red/System program, so the Unicode printing is 
straight from the source code, without awareness
james_nak
1-Nov-2012
[3238x2]
OK, I just installed win 8 Pro 32 on one of my machines and I downloaded 
the v0.3.0-0 zip and ran the run-all.r file. Perhaps that's not the 
right thing to do since it printed "running lexer-test" and then 
proceeded to lock up my machine. I can't even ctrl-alt-del. Let me 
know how you would recommend me testing Red since I may be the first 
to have win 8 among us but the last to really use Red passed the 
original "let's see if I can see 'hello world' on my Droid" a few 
months back :-)
passed = past
DocKimbel
1-Nov-2012
[3240]
The %run-all.r script in root folder runs all the Red + Red/System 
unit tests. It does use CALL command which might need some permission 
under Win8? (just raw guessing, haven't tried Win8 yet). Can you 
try to run it using Admin priliveges?
james_nak
1-Nov-2012
[3241x3]
Doc, I'll try that.
You know Doc, I think it was that I was using an older r2 (2.7.6.). 
I installed 2.7.8.3.1 and the tests seem to be running fine with 
perhaps the enum-test.r since it now is not responding.
Yes, it stopped at that point. (enum-test.r)
DocKimbel
1-Nov-2012
[3244]
It's probably a CALL issue, we had similar issues a year ago, and 
it was CALL-related IIRC. I and Peter need to install a Win8 system 
to be able to debug that.
Gabriele
2-Nov-2012
[3245]
Doc: I wonder if there's a web service out there that lets you take 
donations and shows a page like the humble bundle one. if not, perhaps 
we should make one. :-)
DocKimbel
2-Nov-2012
[3246]
I remember searching for such service that would allow outsourcing 
the donations handling a few months ago, but couldn't find anything. 
That would certainly be a good idea! Also if it could handle the 
money transfer aswell, that could be a good ground for a new startup. 
;-)
NatasjaK
2-Nov-2012
[3247]
DocKimbel: What is your next step/goal?
Pekr
2-Nov-2012
[3248]
an always intersting question about - what's next :-)
DocKimbel
2-Nov-2012
[3249]
Natasja: depends on which term you're thinking about, next days/weeks/months? 
I have many short/middle/long terms steps/goals/plans :)
Pekr
2-Nov-2012
[3250]
Doc - just hurry-up, we should earn some money, so that we can buy 
Disney, which bought Lucasfilm, so that Star Wars 7-9 gets under 
our control :-)
DocKimbel
2-Nov-2012
[3251x4]
I wrote about short-term steps at the bottom of the 0.3.0 release 
announcement: http://www.red-lang.org/2012/10/red-alpha-release.html
Pekr: well, if I had billions, I probably would spend them into science 
research rather than that. One of the main science project would 
be to build me a light-saber. ;-)
Speaking about earning some money:
I'm very glad to announce that I've received the biggest amount of 
monthly donations in October: 997.65€ received (~$1277) from 8 donators. 
That not only easily covers my monthly bills, but also allows me 
to save some money for future trips to devcons. So thanks a lot to 
all donators!

A special huge thank to Bas de Lange for making a big donation!
Pekr
2-Nov-2012
[3255]
!!! Cool :-)
Kaj
2-Nov-2012
[3256x2]
I tried different versions of cURL on Windows 7, but read-we-page 
is still unable to reiolve the URL
cURL works from the prompt, so Windows is doing something awkward 
that keeps my Red/System program from working
DocKimbel
2-Nov-2012
[3258]
I'll have a look at it tonight.
Kaj
2-Nov-2012
[3259]
The other remaining issue is that play-SDL-WAV appears in the Windows 
7 mixer, but stays silent
Jerry
2-Nov-2012
[3260x2]
What's the difference between Sysmbol! and Word!
Symbol! in Red is like Issue! in R3, right?
BrianH
2-Nov-2012
[3262]
In R3, a symbol is the internal unique string that a word refers 
to. A word is a pointer to a symbol and another to its binding. Same 
in Red?
DocKimbel
2-Nov-2012
[3263x2]
Same in Red.
Jerry: symbol! datatype is not reachable for Red users, it's an internal 
feature. I might also add series! and context! datatypes, it will 
be for internal use only too. You can see the types hierarchy at 
page 22 of this presentation: 

http://static.red-lang.org/Red-SFD2011-45mn.pdf

(the types in italic are internal types, not accessible for Red programming).
BrianH
2-Nov-2012
[3265]
You don't have typesets?
DocKimbel
2-Nov-2012
[3266]
Not yet, but I will add them.
BrianH
2-Nov-2012
[3267]
That can deal with the series! type, unless you have an internal 
reason to have it be a real type.
DocKimbel
2-Nov-2012
[3268]
Also, the ipv6! type might not be derivated from binary! if it can 
fit in a value slot.
BrianH
2-Nov-2012
[3269]
I don't see how it could fit in a 128bit value slot, but maybe in 
a larger one.
DocKimbel
2-Nov-2012
[3270x2]
Internal reason: type inheritance mainly.
I don't remember how long was an IPv6 address?
BrianH
2-Nov-2012
[3272]
128bit.
DocKimbel
2-Nov-2012
[3273x2]
Can't fit a value slot, so it needs it's own buffer.
*its
BrianH
2-Nov-2012
[3275]
If you have support for unboxed intermediate values or unboxed series 
types (like vector) then you can make sure you can do IPv6 types 
that way too.
DocKimbel
2-Nov-2012
[3276]
What do you call "unboxed intermediate values"?
BrianH
2-Nov-2012
[3277x3]
Side effect of compilation. The compiled code retrieves a value from 
a value slot or other indirect type, manipulates the values in typed 
stack or register variables, then puts the results back in the value 
slot or wherever.
You'd likely need to use two 64bit registers unless you use SSA or 
something.
Sorry, SSE.
DocKimbel
2-Nov-2012
[3280]
Ok, I wasn't sure what you meant by "intermediate". Red compiler 
will heavily rely on unboxing for all the optimizations.
BrianH
2-Nov-2012
[3281]
Right, otherwise there's no point to going through the trouble of 
compiling (aside from the challenge) :)
Jerry
2-Nov-2012
[3282x3]
in R3, Date! is not scalar!. In Red, Date! is scalar!. Why?
Also, in R3, Issue! is any-word!, not any-string!. But in Red, Issue! 
is any-string!
Hope I can keep learning Red while your are developing it. So I can 
help in book writing or something like that in the future. :-)
BrianH
2-Nov-2012
[3285x2]
In R3, date! isn't in scalar! because scalars need to be able to 
support +, -, * and /, and two of those don't make sense for dates.
The issue! type was changed from a string-like type in R2 to a word-like 
type in R3, but the R3 behavior isn't completely final. It will continue 
to be a word-like type, but the syntax might get some tweaking and 
some string-like operations might be added back where possible, perhaps 
in a similar way to how tuples are series/like at times but actually 
immutable.