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

World: r4wp

[#Red] Red language group

AdrianS
4-Apr-2013
[6866]
The DrDobbs link led to this one - After XML, JSON: Then What?


http://www.drdobbs.com/web-development/after-xml-json-then-what/240151851


That article mentions that one of the "most interesting" new data 
formats being considered is TOML (this looks like the .ini file format)

https://github.com/mojombo/toml

Is this really what we can expect?
DocKimbel
4-Apr-2013
[6867x8]
Funny, on each iteration, they are getting closer and closer to REBOL 
data format...:-)
# First class dates? Why not?
# You can indent as you please. Tabs or spaces. TOML don't care.

:-))
INSERT action implemented for all series datatype. Unit tests are 
welcome.
Especially on strings with different internal encodings (Latin1, 
UCS-2, UCS-4), all combination should be tested for both INSERT and 
APPEND.
INSERT and APPEND on string! extended to handle argument value of 
any datatype!.
(implicit FORM applied to arguments not directly compatible)
New OpenCV Red/System code demo and video (image real-time filtering) 
posted by François: 

http://www.digicamsoft.com/cgi-bin/rebelBB.cgi?thread=%3C17Mar2013190850930275100%3E

Video link:
http://www.wuala.com/fjouen/Code/OpenCV/Red/pub/filtering.m4v/
François says that the Red/System binding has been tested successfully 
with OpenCV 2.0. Base OpenCV features are 98% complete, now François 
is working on wrapping image processing functions.
Gregg
5-Apr-2013
[6875x4]
Go Doc Go!
Quick tests inserting a string in a string work, but inserting a 
word or integer crash.
Char! seems to work.
Testing from console.
DocKimbel
5-Apr-2013
[6879]
I can't reproduce the issue Gregg, it works fine here.
Gregg
5-Apr-2013
[6880x2]
Hmmm. Let me rebuild the console again, to be sure it's not that.
Still crashes.
DocKimbel
5-Apr-2013
[6882]
Maybe your repo is corrupted somehow?
Gregg
5-Apr-2013
[6883]
Any easy way to test that?
DocKimbel
5-Apr-2013
[6884x2]
Just clone a fresh copy in a temp folder and try recompiling the 
console.
(or download a zip package)
Gregg
5-Apr-2013
[6886]
Downloaded a zip, built the console, still crashes.
DocKimbel
5-Apr-2013
[6887x2]
My bad, it seems the commit wasn't pushed online...
Just pushed it now. Sorry for the inconvenience.
Gregg
5-Apr-2013
[6889x2]
NP.
Works now. :-)
DocKimbel
5-Apr-2013
[6891x2]
Good! :)
Not sure if I've mentioned it here before, but tomorrow I'm moving 
to a new place, on the shore, so I'll probably be offline the whole 
day.
Oldes
5-Apr-2013
[6893]
No commits on Suterday? How you can be so easy going ;-)
Pekr
5-Apr-2013
[6894x3]
:-)
I thought I am the only one refressing the Github commit log several 
times a day :-)
eh, too much of a beer - refreshing, I mean .....
Kaj
5-Apr-2013
[6897]
Nope, same here :-)
DocKimbel
5-Apr-2013
[6898]
Guys, you can just subscribe to the commits feed, and preserve your 
keyboard a bit: 
https://github.com/dockimbel/Red/commits/master.atom
;-)
Pekr
5-Apr-2013
[6899]
Doc, alive, that's all we need to know :-)
DocKimbel
5-Apr-2013
[6900]
Oldes: you're right, I'm becoming a bit too careless, I'll try to 
get something done at least tomorrow, then I'll go swim in the sea. 
;-)
Kaj
5-Apr-2013
[6901]
If you have an RSS reader
Pekr
5-Apr-2013
[6902]
Swimming in the sea? It's still winter here :-)
Kaj
5-Apr-2013
[6903]
Doc likes to get sick for months on end
DocKimbel
5-Apr-2013
[6904x2]
Will be 22°C tomorrow, a shiny day, water should be still a bit cold 
though. :-P
Yeah, I just recover a few weeks ago from winter flu, time to play 
with another virus. ;-)
Pekr
5-Apr-2013
[6906]
beware of Ren - new form is appearing ....
DocKimbel
5-Apr-2013
[6907]
Hope that one will spread everywhere. ;-)
Kaj
5-Apr-2013
[6908]
Do you think multiple compiler processes can run at the same time, 
or would they clobber shared files?
Gregg
6-Apr-2013
[6909]
If I do this in the console:


foreach word system/words [print [mold word tab mold type? get word]]

I get a long list of words, that end with this:
...
do-console      function!
red-prompt      unset!
mode    unset!
switch-mode     unset!
eval    unset!
code    unset!
result  unset!
cnt     unset!
mono    unset!
block   unset!
q       function!
red>>


Now, if I paste a bunch of code in the console and do it again, the 
newly added words all come back as type datatype!.  e.g.
...
block   unset!
q       function!
Title   datatype!
Author  datatype!
File    datatype!
Tabs    datatype!
any-function?   datatype!
...
DocKimbel
7-Apr-2013
[6910x2]
Multiple compiler processes at the same time: I see no issue doing 
that as Red is doing it all in memory.
Gregg: looks like a bug related to the one fixed recently about system/words 
returning datatype! only.
Kaj
7-Apr-2013
[6912]
Doc, no log files?
DocKimbel
7-Apr-2013
[6913]
Nope, logs are optional and when requested, there are emitted on 
stdout.
Kaj
7-Apr-2013
[6914x2]
OK, thanks
I'm moving to a new dual-core machine. When compiling Red, it uses 
only one core, so I'm considering using 0MQ to make use of the extra 
core