World: r3wp
[World] For discussion of World language
older newer | first last |
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 ... |
Oldes 4-Dec-2011 [276] | so try to click on it using left button:) https://github.com/Geomol/World/blob/master/world_win32.exe |
Pekr 4-Dec-2011 [277x2] | OK, I found I still have Tortoise git installed, and synced the stuff .... |
It is quite a long time I last used it to get R3 sources ;-) | |
Oldes 4-Dec-2011 [279] | It would be better to contact github to add colorizer for the World language. |
Pekr 4-Dec-2011 [280] | Clicking left button does not help at all - brings you to subpage, where no download button is available. So I used raw link. It stores it as 515kb exe, which is not runnable. |
Oldes 4-Dec-2011 [281x3] | It would probably require a small fix in the current colorizer used for Rebol (so World is recognized as well) |
of course there is the download link... it's called RAW.. and you could also see history with diffewrent versions | |
(once there will be a new versions) | |
Pekr 4-Dec-2011 [284x4] | Just try to download .raw - it is not runnable |
OK, now the question - World is some 515 KB - it is still small in comparison to many other tools out there,but still the question remains - why it is so "big", as it mostly compares to /Core? :-) | |
Interesting - after the start, it also takes 4.3MB vs 2.3MB of R3/View | |
It would be intesting to have 'stats (profiler) available - anything like that planned? | |
Geomol 4-Dec-2011 [288] | Size is probably because of some Windows includes/libs. From my mac: -rwxrwxr-x+ 1 john staff 360286 4 Dec 09:53 world_linux -rwxr-xr-x 1 john staff 346216 3 Dec 11:27 world_macosx -rw-r--r--+ 1 john staff 515991 4 Dec 09:50 world_win32.exe The OS X and Linux version is much smaller. I have to dig into that at some point. But I don't think, it's so important right now. |
Pekr 4-Dec-2011 [289] | Geomol - absolutly - not impotant, just a question of couriosity .... You better focus to some other areas :-) |
Geomol 4-Dec-2011 [290] | Yeah, STATS would be nice. It's not high on my list atm. |
Pekr 4-Dec-2011 [291] | I have got first crash. Try code like: for i 1 1000000 1 [print "ahoy"] ... and press ctrl c |
Geomol 4-Dec-2011 [292] | ctrl c terminates World. That's intentional. |
Pekr 4-Dec-2011 [293] | ok |
Oldes 4-Dec-2011 [294] | I guess you should give us a bug tracker. |
Geomol 4-Dec-2011 [295] | nooo too much work for me. :) Well, for now I would not have time enough to deal with lots of bug reports. At a later time, when I'm mostly done coding on it, and have removed all the bugs, I already know about, and added missing features, bug reports are very welcome. But simple tests, like you see in the test/ dir is a good idea. I can handle a couple of falsed tests at a time now. So maybe that's a way. What do you guys think is a good way? What way will get to the goal knowing I'm booked with things to do already. |
Oldes 4-Dec-2011 [296] | I guess you need form for feature requests as well :) For example the routine! part is not good enough, R2 version is better at this moment. |
Geomol 4-Dec-2011 [297x4] | Yes. |
Fixing the routine part is high on my list. | |
And the defining rules for routines will most likely change, so don't use a lot of time making routines, unless you're ready to change your code later. | |
Defining routines is on page 10 in cortex_alpha.pdf. I just updated that doc. Oldes, you can try putting in the [typecheck] special attribute. | |
Oldes 4-Dec-2011 [301] | don't forget routines which return void |
Geomol 4-Dec-2011 [302] | I think, that's supported already with void none! at the end of the make routine! block. |
older newer | first last |