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

World: r3wp

[World] For discussion of World language

Maxim
2-Dec-2011
[226]
does binding work similarly to REBOL?  I mean can World support current 
advanced REBOL block binding/building for generating code like Parse 
compilers or such oddities like this:
>> reduce [ word word word ]
== [1 2 3]
Geomol
2-Dec-2011
[227]
I'll address that after release.
Maxim
2-Dec-2011
[228]
single level Mark and Sweep GC?  or did you put a bit of time into 
making it a bit more powerful (multi-zone, multi-level, multi-threaded, 
etc.) ?
Geomol
2-Dec-2011
[229]
World doesn't use garbage collection, but reference counting.
GrahamC
2-Dec-2011
[230x2]
@Geomol .... it leaves you famous :)
Open source doesn't mean it's not copyrighted
Geomol
2-Dec-2011
[232]
I'm afraid of being famous. ;)
GrahamC
2-Dec-2011
[233]
Write the book now :)
Geomol
2-Dec-2011
[234]
I'll do my best! I promise that.
GrahamC
2-Dec-2011
[235x3]
The nice thing about the book I bought is that I can report errata 
directly from the pdf ... click on errata and it takes me to a web 
form
And the PDF has my name embedded in it ..
And of course if it becomes popular you can do a second edition ;)
Geomol
2-Dec-2011
[238]
ANSI World ... oh no, a fully standardized Earth.
GrahamC
2-Dec-2011
[239]
Maybe Max can port glass to it !
Maxim
2-Dec-2011
[240]
it would have to be open source   ;-P
GrahamC
2-Dec-2011
[241]
That's the rub ... a single person can only do so much.  And few 
people these days will contribute to a closed source project
Geomol
2-Dec-2011
[242]
(No whining here, use the Vent group!) ;)
Maxim
2-Dec-2011
[243x2]
its more like I want to link my C version of liquid rather than use 
an interpreted one.  the speed/memory impact is tremendous (10 million 
node allocations a second on the latest early prototype).
btw, wrt the licensing issues... if it may help you, one thing I 
can say is that you will never make (real) money from a programming 
language itself.

once the language actually works, here are possible money making 
potentials:

-the tools which go around it  (frameworks, IDE, etc).

-integrated modules, individual or sets.


-consulting services & adapting the language and its tools for specific 
(high-profile) clients.


-corporate funding by a company , university or research institute 
which uses the language in core components and wants to make sure 
the language stays alive.

-apps/web sites you build with the language.

-donations from enthusiasts (many apps live solely on this!).
Gregg
2-Dec-2011
[245x2]
Thanks for all your work on World, and the QA John. It's very exciting.


As far as the outrageous bytecode size, from one who hates bloat 
as much as the rest of you here, I am happy to make certain tradeoffs 
in return for other benefits. If I have the choice of REBOL, World, 
Red, and Topaz as "mindset compatible" languages, I can choose which 
one to use for a given purpose. Yes, that opens up other questions 
and issues, but I'm happy to see more REBOL-like langauges.
John, on range! values, do you envision transparent iteration/lazy 
generation support for them? I use the term 'bounds for what you 
call range! and my 'range is a series with the values filled in (with 
/skip support).
GrahamC
2-Dec-2011
[247]
I'd really like to see such a combination, a fully working glass 
with a "compiled" rebol clone .. I just have too many performance 
issues with what we have at present.  It may be fast to write .... 
but ...
Geomol
2-Dec-2011
[248x3]
Thaks for the kind words, Gregg. I was very much in doubt when growing 
the instruction size to 256 bit, but I must do something right, as 
the performance shows. This is an alpha, and things will change. 
And I haven't done much compiler optimization.
*Thanks*
About range!, I haven't thought of what you describe. We can talk 
more about it, when you're able to try World.
Maxim
2-Dec-2011
[251x2]
btw, I really like the   call-by-word   idea you show in countdown: 
 2
I think the range datatype should be tweaked a little:
 block/4-3
should return.
== [d c]
 

otherwise  it becomes mightily confusing, since as you have it now, 
when going backwards, its 0 based and going forwards its 1 based.


also,   /4-4 and /4-3 shoudn't return blocks of the same length, 
its almost impossible to compute ranges since we'll have to add IF 
to know if the start and end are the same, and then decrement them 
by 2 instead of one, for example... pretty odd.
Gregg
3-Dec-2011
[253]
I'm not sure about that either Max. We'll let John catch his breath 
and he may have a reason.
Geomol
4-Dec-2011
[254]
World alpha has been released.

Who's the first one to successfully run a test?
james_nak
4-Dec-2011
[255]
Well, I ran the test and just created a function. I love the automatic 
quotes by the way.
Pekr
4-Dec-2011
[256]
I just renamed to exe, tried to run from Total Commander, and got 
the following error:

The NTVDM CPU has encountered an illegal instruction ....
Geomol
4-Dec-2011
[257]
Ok. Others got the same error? Anyone has an idea why?
Sunanda
4-Dec-2011
[258]
Test
m

Both loook good!
james_nak
4-Dec-2011
[259]
Re: naming convention from ann-reply

You could use the same names as they are now: world_linux.xxx and 
then suggest the user can/should rename his version as world.xxx. 
That way a person can get going immediately without that step if 
he wants to.
Geomol
4-Dec-2011
[260]
Ok, suggestion noted. I'll think about it and maybe change it later.
Robert
4-Dec-2011
[261]
World should accept REBOL [] as header to run R2, R3 scripts through 
it without editing these.
Geomol
4-Dec-2011
[262]
First let's see, how many REBOL scripts will actually run. I assume, 
a lot of work is needed in %rebol.w . You guys are welcome to contribute. 
Maybe we need a project for that!?
james_nak
4-Dec-2011
[263x2]
Pekr, maybe this will help: http://support.microsoft.com/default.aspx?scid=kb;en-us;314106
with that error.
Geomol, interesting. I can execute the mandelbrot.w but not the cmandelbrot.w 
w> cmandelbrot
** Error: cmandelbrot has no value
** Near: cmandelbrot
Geomol
4-Dec-2011
[265x2]
w> do %test/cmandelbrot.w
I don't think, there is a cmandelbrot function.
james_nak
4-Dec-2011
[267x2]
My bad. I was thrown off by the way the original "test" worked.
I thought you could simply type the name of the file. :-)
Geomol
4-Dec-2011
[269x4]
:) Look at the bottom of the %cortex.w file. You'll see the test 
function and the m function. I just include them for now, because 
I call those two scripts all the time.
To have more luck with running REBOL script with world, do the %rebol.w 
first.
%rebol.w will extend World with some REBOL stuff. We could say, REBOL 
then is a dialect of World.
I added cortex_alpha.pdf to World at GitHub. It's some initial documentation.
Pekr
4-Dec-2011
[273]
there's something with mime-types imo - right clicking the exe, choosing 
to save, saves it as world_win32.exe.htm, containing github html 
stuff ...
Oldes
4-Dec-2011
[274]
Why you just down download https://github.com/Geomol/World/zipball/master
Pekr
4-Dec-2011
[275]
Because thing shoul be easy! And if Geomol points us to the link 
he posted, I will not look around to find some mysterious zipball 
...