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

World: r4wp

[#Red] Red language group

BrianH
24-Oct-2012
[3003]
Pekr, runtimes interpreters are allowed on iOS now, as long as they 
are approved by Apple. What is prohibited is running external scripts 
or scripts downloaded from the internet. All interpreted scripts 
need to be bundled with the app, so the app can be evaluated as a 
whole by the app store gatekeepers. I've given this some thought, 
and it may be possible to cripple an R3-like interpreter sufficiently 
to meet these criteria; all you need to do is put some limits into 
the LOAD and DO mezzanine code. Red could be similarly crippled if 
you want.
Pekr
25-Oct-2012
[3004]
So, 0.3.0. is merged - will there be any official announcement/follow-up, 
or are we silently moving forward?
DocKimbel
25-Oct-2012
[3005x2]
As I said before, I'll announce it officially. I still have a couple 
of things to do before: decide about one bugtracker ticket and write 
the blog entry to announce it. :-)
I've cleaned up the open tickets today and created a wish list page 
in the project's wiki on github.
Kaj
25-Oct-2012
[3007]
Freddy reports a number of strange problems with the MSDOS and Darwin 
versions of the test binaries. I'll relay more when I get more info 
from him
DocKimbel
26-Oct-2012
[3008]
Kaj: do you have more info about that? Just to know if releasing 
0.3.0 tonight is safe or if I should wait more?
DanielN
26-Oct-2012
[3009x4]
HI Kaj, I download Your Gtk Bindings and and GLib too, put it in 
red-system directory (it's a write place ?) and I have too problems:
first  error in GLib line 35 %include ../common/common.reds and it's 
runtime/commons.reds. After correction i
-= Red/System Compiler =- 
Compiling RedGTK/examples/hello-GTK-world.reds ...
*** Compilation Error: alias name already defined as: [struct! [
        item [c-string!]
    ]] 
*** in file: %runtime/common.reds 
*** at line: 62 
*** near: [
    str-array!: alias struct! [
        item [c-string!]
    ] 
    typed-value!: alias struct! [
        type [integer!] 
        value [integer!] 
        _padding [integer!]
    ]
]
I am not shure this is all clear :) but if you can help......
Kaj
26-Oct-2012
[3013x2]
You need the Red-common repository, too, installed in a subdirectory 
called common/. Same pattern as GTK and GLib. See the Announce channel 
a few announcements back
You're confusing it with a Red/System file called common. They have 
nothing in common ;-)
DanielN
26-Oct-2012
[3015]
Thanks Kaj ! I have My "Hello Red/system GTK+Hello World !"  :) I 
have to reed some docs and wait for Red 1.0 .. does it come whit 
some hight level VID or RedGUI ?
Kaj
26-Oct-2012
[3016x4]
Not yet
Freddy has the following problems on Windows 7 Home Premium:
Alvira thinks there's a Trojan in Red/Hello.exe and Red/Fibonacci.exe 
( TR/Crypt.XPACK.Gen )
Access denied on executing all exe's in MSDOS/Red
DanielN
26-Oct-2012
[3020]
:(
Kaj
26-Oct-2012
[3021x2]
hello-unicode in MSDOS:
Hello, world!
+º+¦ß+û¤ü+Á, +¦¤î¤â+++Á!
õ¢áÕÑ¢, õ©ûþòî
Dobr+¢ den sv-øte
DanielN
26-Oct-2012
[3023]
Not like in linux.....
Kaj
26-Oct-2012
[3024x3]
Indeed
Mac mini Intel Core Duo:
Only RedSystem/empty returns to prompt. Rest hangs (hello, Fibonacci, 
Mandelbrot)
DanielN
26-Oct-2012
[3027]
OK, thanks for your time, I have to see my bed... tomorow long day 
of Irish music and maybe long night ;)
Kaj
26-Oct-2012
[3028]
Have fun :-)
DocKimbel
27-Oct-2012
[3029x2]
Antivirus alert: I've scanned Hello.exe with virustotal.com, no virus 
signature detected at all:

https://www.virustotal.com/file/ecde1916047993067be692235fb87352860b4596f5a2d54ba7efbf7482bcbe3a/analysis/1351329447/

Fibonacci.exe does raise some alerts from a few AV:

https://www.virustotal.com/file/6a86ef360727e907b6fc8cd7f9c0607a3ccb11f8f953747167b349dc43d6bf8a/analysis/1351329779/


I will look into these false positives signatures to see if I can 
improve that. Not sure it will be possible if they are caught by 
undocumented heuristics...
hello-unicode in MSDOS: has he switched the DOS console to Consolas 
font?
Nicolas
27-Oct-2012
[3031]
I get virus alerts all the time from red. I just turn it off. The 
only thing that ever got as many hits as red was rainbowforth which 
was another very minimalistic program. AV programs seem prejudiced 
against small executables :(
DocKimbel
27-Oct-2012
[3032x3]
I've sent a few info requests to various AV vendors, I hope to get 
some clues about what's triggering their heuristics.
I will release v0.3.0 in a couple of hours, if you want to do some 
tests to track regressions, that would help.
For example, testing Kaj's bindings on non-Windows platforms would 
help.
Kaj
27-Oct-2012
[3035x2]
Consolas font: probably not, I'll ask
Shouldn't FPU initialisation be included automatically when Red/System 
is configured to use the C library? I have at least three bindings 
that need it
DocKimbel
28-Oct-2012
[3037x2]
What makes you think it is not included?
I've sent an email to Freddy already asking a few more questions 
about his issues.
Kaj
28-Oct-2012
[3039]
I've dropped my C library binding from several examples that use 
large libraries on top of GTK. I had my FPU initialisation in the 
C library binding and now the crashes on float exceptions are back
DocKimbel
28-Oct-2012
[3040]
You should add C-specific FPU initialisation to the bindings that 
produces float exceptions. C relies on FPU flags (masked exceptions) 
that are different from what Red/System uses. Doing so will shutdown 
some Red/System runtime error traps (like division by zero), but 
allow C-based libraries that access the FPU to work normally.
Kaj
28-Oct-2012
[3041]
Ah, forgot that they conflict
DocKimbel
28-Oct-2012
[3042x2]
Red alpha release: http://www.red-lang.org/2012/10/red-alpha-release.html
I'm glad this one is out...finally back to coding now! :-)
Arnold
28-Oct-2012
[3044]
Congratulations! Looks great, sure gonna play around with this release!
Henrik
28-Oct-2012
[3045]
Wonderful.
Jerry
28-Oct-2012
[3046]
Great News!
DocKimbel
28-Oct-2012
[3047]
Thanks! I have added a mention about missing Chinese font on some 
of the screenshots, just in case someone thinks it's a bug.
Kaj
28-Oct-2012
[3048x3]
Congratulations on this heavy milestone!
I've moved the SQLite developing branch to trunk. Needs the new Red/System 
release
Is there currently a difference between MSDOS and Windows targets?
DocKimbel
28-Oct-2012
[3051]
Yes, MSDOS uses the 'console sub-system, while Windows target uses 
the 'GUI sub-system.
Kaj
28-Oct-2012
[3052]
OK, but what's the concrete difference in generated code?