r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Red] Red language group

GrahamC
26-Dec-2011
[4061x2]
derivated  - no such englsh word :)
New compilation targets have been provided for Linux and derivated 
OS running on ARM:

change to 


New compilation targets have been provided for Linux and derivative 
OSs running on ARM:
Dockimbel
26-Dec-2011
[4063]
Hmm, another "frenglish" of mine. :-)
GrahamC
26-Dec-2011
[4064]
ahh... your own dialect !
Dockimbel
26-Dec-2011
[4065]
BTW, can acronyms in english take an ending "s"? Is that allowed?
GrahamC
26-Dec-2011
[4066]
okay,make it OSS :)
Dockimbel
26-Dec-2011
[4067]
hehe :)
GrahamC
26-Dec-2011
[4068]
http://www.english-test.net/forum/ftopic25371.html


And then in Microsoft Manual of Style (version 3.0) we can read "To 
form the plural of an acronym, use a lowercase "s" without an apostrophe." 
Example: several IFSs.
Kaj
26-Dec-2011
[4069x2]
In British English, an apostrophe is more common, so both are correct
Congratulations on the ARM port. It's an important milestone
Dockimbel
27-Dec-2011
[4071]
Thanks Kaj, I hope to be able to demo some running Android app in 
Red/System (or Red) in march at the RedTopaz conf.
GrahamC
27-Dec-2011
[4072]
the only arm device I know I have is the http://en.wikipedia.org/wiki/NSLU2
 uses an ARM-compatible Intel XScale IXP420 CPU.
Dockimbel
27-Dec-2011
[4073]
XScale is based on ARMv5, so it should work, you just need to figure 
out how to download an executable from the NSLU2 and run it.
Kaj
27-Dec-2011
[4074x2]
I've tested all example programs in all my bindings and they still 
work with the new release
I've also compiled them for Android. I can't test them, but they 
do all compile
Dockimbel
28-Dec-2011
[4076]
Good! I'll try to test them on my QEMU instance (at least the non-graphic 
ones).
Kaj
28-Dec-2011
[4077]
Don't you have X11 installed there?
Dockimbel
28-Dec-2011
[4078x5]
I have an X11 (with Gtk I think) image for QEMU but it's dead slow, 
so I never use it.
I will give it a new try to see if I can get Gtk binding working.
I've tested the cURL binding on Debian armel, works fine (used the 
example script and my own wget script).
For GTK, it stops on a symbol issue with atexit():

[root-:-debian-armel]:~/ARM# ./GTK-widgets 

./GTK-widgets: symbol lookup error: ./GTK-widgets: undefined symbol: 
atexit
The `atexit` symbol is present in both the dynamic symbol and relocation 
tables of the ELF binary.
Kaj
28-Dec-2011
[4083]
It's in the ANSI standard for the C library, but it may not be in 
the Bionic C library for Android
Dockimbel
28-Dec-2011
[4084x3]
I'm testing on Debian 6 in QEMU.
I've checked the dependencies via ldd, all are met.
Maybe Andreas would have a clue about this.
Kaj
28-Dec-2011
[4087x2]
I've already had to leave it out of the C library binding for Syllable. 
That's also odd, though, because it uses the GNU C library, like 
Debian, and Syllable is supposed to have atexit
It's also strange that the cURL binding would work, because it imports 
the same C library binding
Dockimbel
28-Dec-2011
[4089x6]
If I remove the atexit() dependency, I get segfaults on first calls 
to external functions (on printing the GTK version).
So the issue is not specific to atexit().
I guess that it might be causing by a bad version of one or several 
shared lib from GTK.
causing => caused
I've upgraded GTK to 2.20.1, but still getting segfaults.
I will investigate that deeper in the next days.
Andreas
28-Dec-2011
[4095x5]
atexit is often not present in libc's (it is neither in the x86-64 
libc or in the ARM EABI libc).
Some weird stuff with shared library unloading and what not. Don't 
ask me, really :)
They use __cxa_atexit on those platforms, typically.
GCC either rewrites atexit directly or redirects atexit calls to 
__cxa_atexit via libcc, I don't exactly remember.
(That should have been: "via a stub in libgcc".)
Dockimbel
28-Dec-2011
[4100x2]
CASE native implemented in Red/System (same syntax as REBOL's one).
Doc and tests will be added tomorrow.
Kaj
28-Dec-2011
[4102]
Nice!
Henrik
29-Dec-2011
[4103]
Missing double-quote in:

http://static.red-lang.org/red-system-specs.html

either a > 0 [print "TRUE"][print "FALSE]
Dockimbel
29-Dec-2011
[4104]
Henrik: thanks, I'll fix that today with the addition of CASE description.
Pekr
29-Dec-2011
[4105]
as for CASE - I could not fin it in the Docs, in the section talking 
about eventually planned features. I could find there only SWITCH 
directive :-) Maybe that section could be revisioned, to let us know, 
what is eventually planne, and what is not ....
Dockimbel
29-Dec-2011
[4106x3]
I forgot to add an entry for CASE in the "Planned features" of the 
spec document. CASE and SWITCH were announced in slide 36 of my presentation 
at SFD: http://www.red-lang.org/2011/09/red-at-software-freedom-day-2011.html
Other native functions were also announce, but their priority is 
lower. I should update the "Planned feature" section of the spec 
document.
I plan to also add SWITCH today or tomorrow.
Pekr
29-Dec-2011
[4109]
are those required to have function refinements in red/system?
Dockimbel
29-Dec-2011
[4110]
No, they are not related to refinements support. They just enable 
to write cleaner code and more readable code.