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

World: r4wp

[#Red] Red language group

Kaj
9-Mar-2013
[6185]
Well, I haven't used that in many years. I would like it to work 
with 2.7.8
DocKimbel
9-Mar-2013
[6186x2]
Have you tested with Core 2.7.8?
I only trust 2.7.6 for my production code, I had too many weird behaviors 
and bugs in 2.7.8. 2.7.6 has some bugs too, but at least I can spot 
them easily and it seems to much more stable overall than 2.7.8.
Kaj
9-Mar-2013
[6188x2]
Same issue
2.7.6 and 2.7.7 have problems, especially in View, that make them 
unstable on Linux. I'm using 2.7.8 in Syllable
DocKimbel
9-Mar-2013
[6190]
2.7.7 is definitely a no-go.
Kaj
9-Mar-2013
[6191x2]
It works fairly well for me
Red works OK on those versions, except this problem
DocKimbel
9-Mar-2013
[6193x2]
I have never tested deeply View on non-Windows platforms, as I never 
needed it for my production code.
I will give it a look tomorrow testing with 2.7.8.
Kaj
9-Mar-2013
[6195x2]
Thanks
Make sure not to change anything, as any shift in the code makes 
the problem go in hiding
DocKimbel
9-Mar-2013
[6197]
In case, some of you are interested in a more detailled view of Red's 
roadmap, I've started using Trello for keeping track of current and 
future tasks. I've just started adding stuff, I have many more things 
to put there. Here's the URL:


https://trello.com/board/red-programming-language/51387ada4e1ba9b86b001141
Kaj
9-Mar-2013
[6198]
I'm getting a blank page with just a header bar
DocKimbel
9-Mar-2013
[6199x2]
Ah...let me see...
Try with this link: https://trello.com/b/FlQ6pzdB
Kaj
9-Mar-2013
[6201]
Redirects to same, with same result
DocKimbel
9-Mar-2013
[6202]
The board is public, it should be visible to anyone...
Kaj
9-Mar-2013
[6203]
It isn't
BrianH
9-Mar-2013
[6204x2]
I'm going to extend https://github.com/BrianHawley/rebol-patches
to R2, taking the R2/Forward stuff that made it into 2.7.8 and retrofitting 
it into older R2 versions, plus any fixes to 2.7.8 that we can manage. 
That should make it easier to use 2.7.6 or even earlier versions.
Not today, but it's the plan.
DocKimbel
9-Mar-2013
[6206x2]
Kaj: do you see the content there: http://transmog.net/iphone-simulator/mobile-web-browser-emulator-for-ipad-2.php?u=https://trello.com/board/red-programming-language/51387ada4e1ba9b86b001141
It's a web proxy, you can surf the site from there.
Kaj
9-Mar-2013
[6208]
No, same bar. And the URL printed outside the address bar
DocKimbel
9-Mar-2013
[6209x2]
Hmm, so not a web proxy...
Do you have JS disabled?
Kaj
9-Mar-2013
[6211]
Yes
DocKimbel
9-Mar-2013
[6212]
To use Trello, please enable JavaScript.
Kaj
9-Mar-2013
[6213]
I don't see that
DocKimbel
9-Mar-2013
[6214]
I've seen it there: https://www.megaproxy.com/go/_mp_framed?https://trello.com/board/red-programming-language/51387ada4e1ba9b86b001141
Kaj
9-Mar-2013
[6215x3]
If I go to syllable.org in the emulator, our site flashes by and 
then that screen goes blank, too, so that emulator is broken, too
That proxy doesn't work at all
I'm fairly sure this will all go away if I enable cookies, but I 
don't want to let all those sites install cookies, without choice 
and without telling at that
BrianH
9-Mar-2013
[6218]
I think the window can be hidden, it might be worth checking.
Kaj
9-Mar-2013
[6219x2]
You mean the SDL program? Yes, the window is already hidden, but 
if I try it on Linux I do get a task bar icon
Measures could be taken to close the window sooner, but it's not 
worth it just for the example
Endo
10-Mar-2013
[6221]
Trello is a very good choice, so anyone can see what is on the list 
easily. I use it for my work and personal lists. There is Android 
app too.
DocKimbel
10-Mar-2013
[6222]
Kaj: do you have multiline input support in your console-pro version?
Marco
10-Mar-2013
[6223]
I suggest to change the relaive part of "Readme.md" to:

Running the Red/System hello script
------------------------

1. From the REBOL console type:

    `call/show ""` ; (type this only once to fix Rebol 2 bug)

    `change-dir %red-system/`

2. Type: 

    `do/args %rsc.r "%tests/hello.reds"`
	

    the compilation process should finish with a `...output file size` 
    message.


3. The resulting binary is in `red-system/builds/`, go try it! type 
(on Windows):

    `call/wait/shell/console %builds/hello.exe`
Arnold
10-Mar-2013
[6224]
Tell the Red interpreter "find a slash" and it finds one, Now that's 
programming computers! 
Hurray for file! support!
DocKimbel
10-Mar-2013
[6225x5]
Right, it could teach Rebolbot a few tricks. ;-)
Marco: thanks for the proposition. Exposing Rebol bug in the first 
commands that a new user has to type to run Red compiler, is really 
not appealing.
Also, this bug occurs only on Windows, so having users from other 
platfomrs type it too is overkill. I would like to reduce the steps 
and commands to type for running the Red(/System) compiler (especially 
for the first time), not increase them.
Fortunately, these steps are temporary, once we get the compiler 
encapped, it should be a one-liner.
Kaj, about relaxing errors in interpreter (avoiding quiting), it 
is easy to achieve (just remove the `halt` found in interpreter and 
%context.reds), but it is problematic because letting these errors 
pass will let the Red stack in an invalid state which will often 
result in subsequent crashes (until we add proper error support in 
Red).


So, I propose an alternative solution: add VALUE? (and maybe other 
natives if required), to allow you to validate the input before DOing 
it. What do you think?
Kaj
10-Mar-2013
[6230x5]
Would that work on LOAD?
Can't you just return unset! from an undefined path, like for an 
undefined word?
I suppose the ReadLine library I use in console-pro can be programmed 
for multi-line input, but I don't know how, so it currently takes 
single lines
On Windows, it works the same as yours
Endo, people without cookies can't see anything on Trello