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

World: r3wp

[Red] Red language group

Kaj
23-Jun-2011
[2528x3]
If you had told me twenty years ago that I would be writing prose 
such as "Local logic! in prin-int leaks as global function!", I would 
have seen it as a sure sign of dementia
I implemented error checking in the 0MQ examples. It has revealed 
three bugs in Red
It has exploded the code, though. It's quite ugly and inefficient
Gregg
23-Jun-2011
[2531]
Keep up the good work Kaj!
Kaj
23-Jun-2011
[2532]
Thanks, I intend to
GrahamC
24-Jun-2011
[2533]
Karl has failed to engage with the Rebol community as far as I can 
see.
Dockimbel
24-Jun-2011
[2534]
Kaj: thanks for the reports. I was aware of NOT issue and already 
encountered the local name clash, but never got the time to isolate 
it. Fixing them now, before going beta, is a good timing.
Pekr
24-Jun-2011
[2535]
So we are going beta soon? :-)
Dockimbel
24-Jun-2011
[2536x2]
Red/System will go beta as soon as I:
- fix the remaining bugs from the tracker,

- decide on 2 last syntax issues discussed on the ML (concerning 
struct/pointer literal syntax and aliases)
- make a pass on the specification to fix/update/complete it.
It could happen today, but I will be probably too busy with other 
non-Red tasks.
Pekr
24-Jun-2011
[2538]
And then? RED language implementation, generating Red/System code? 
That will actually mean reimplementing all REBOL natives - how long 
do you expect it to take to get to an alpha? One year? More?
Dockimbel
24-Jun-2011
[2539x2]
The next step will be working on Red memory manager, then Red compiler 
(including reimplementing all the base natives). Alpha should be 
available around September, 1st.
Yes, I should take the Red->Red/System compilation road.
Pekr
24-Jun-2011
[2541]
September 1st for the compiler, right? Not the whole REBOL reimplementation? 
You can't be so fast :-) And if you are fast, you should rename to 
SupaRED :-)
Dockimbel
24-Jun-2011
[2542x3]
I said "base natives", so not a whole REBOL reimplementation.
I will detail the milestones on red-lang.org just after the beta 
announcement.
Peter, the %function-test.reds script is missing from your last commit.
PeterWood
24-Jun-2011
[2545]
It seems to be there : https://github.com/dockimbel/Red/blob/58afdfbf99699c7bcd3f57231edae9c495e00f99/red-system/tests/source/function-test.reds
Dockimbel
24-Jun-2011
[2546]
Ah...let me check why precisely the test script is complaining...
PeterWood
24-Jun-2011
[2547]
It's in the wrong place. sorry. It's in source/ when it should be 
in source/units
Dockimbel
24-Jun-2011
[2548]
I'll wait for your new commit then.
PeterWood
24-Jun-2011
[2549]
(I messsed up the copy from Windows to OS X.)
Dockimbel
24-Jun-2011
[2550]
Porting to OSX should be done asap, after the beta announcement.
PeterWood
24-Jun-2011
[2551]
That will be fantastic!!!
Dockimbel
24-Jun-2011
[2552x2]
Yes, I know a few potential Red/System testers that are waiting for 
that too.
Thanks for the fix, pulling it and testing right now.
PeterWood
24-Jun-2011
[2554]
No problem. Hope it's okay now.
Dockimbel
24-Jun-2011
[2555]
Yes, I am just adding another assertion in the f1-f function body 
to verify that the word lookup is done on local context first.
Kaj
24-Jun-2011
[2556x2]
Yes, I should take the Red->Red/System compilation road.
Did you change your opinion on this? Wasn't the plan originally to 
compile Red directly?
Dockimbel
24-Jun-2011
[2558x2]
Right, I wanted to make a direct native compilation for Red too, 
but emitting Red/System might be shorter way to reach the goal.
As Red/System is a dialect of Red, the compilation should be quite 
easy to achieve.
Kaj
24-Jun-2011
[2560x2]
Updated the C and 0MQ bindings for the unset EITHER return value 
fix
However, their functioning is still hampered by the not as-logic 
function! bug, which affects half my functions
Dockimbel
24-Jun-2011
[2562]
I won't be able to get back to Red before tomorrow.
Kaj
24-Jun-2011
[2563]
No problem, it's just a note about the state, and it's ready for 
the solution
Kaj
25-Jun-2011
[2564]
Thanks for the fix! The bindings are fully functional now
Dockimbel
25-Jun-2011
[2565]
Cool!
Kaj
26-Jun-2011
[2566x2]
I've overhauled the design of the 0MQ binding. The high level interface 
is now better tuned. Memory management is moved out of it, so it's 
more efficient. No more thrashing of the allocator for message containers
Message holders don't leak memory anymore, but now the payload of 
sent messages leaks, due to what seems to be a bug in callbacks. 
More in the tracker
Andreas
26-Jun-2011
[2568x2]
The callback is called just fine, but seems to corrupt something 
while running.
Thanks for the report, in any case.
Dockimbel
27-Jun-2011
[2570]
Kaj: good to know that you working on improving the 0MQ binding. 
I will have a look on the callback issue.
Kaj
27-Jun-2011
[2571]
Thanks for the first fix, but it doesn't work yet
Dockimbel
27-Jun-2011
[2572x3]
Right, Andreas fix shouldn't change anything, see my comment: https://github.com/dockimbel/Red/commit/89f2533a5712a389ae15220be3ca75e75f4728c2
I will run his test case step by step to see what's wrong.
Works fine on Windows, so it looks like a Linux-specific issue...
Oldes
27-Jun-2011
[2575]
When we can expect support for decimal numbers?
Kaj
27-Jun-2011
[2576]
You mean floating point?
Oldes
27-Jun-2011
[2577]
yes