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

World: r4wp

[Announce] Announcements only - use Ann-reply to chat

Kaj
15-Oct-2012
[143]
Currently most of them work
MaxV
17-Oct-2012
[144x2]
I just update the http://www.rebol.org/view-script.r?script=advanced-r3d.r
   R3D demo, may you test the models on your PCs and give me a feedback 
if it's all good? With off models I turned off backface culling and 
it can be hard for some pc... maybe...
just push "load OFF file" and test the models
Kaj
18-Oct-2012
[146x3]
I've added a build script to the above testing repository, to build 
all my Red examples in one go
I've added executables for all six current Red target platforms: 
Syllable, Linux, Linux-ARM, Android, Darwin (OS X) and MSDOS (Windows)
I need volunteers to test these examples on their platforms
Kaj
19-Oct-2012
[149x6]
For testing some of the bindings, here is information where to get 
the C, cURL and 0MQ libraries:
http://rebol.esperconsultancy.nl
For checking out the complete repository and simply keeping them 
up to date for new test versions:
http://rebol.esperconsultancy.nl/documentation/how-to-use-Fossil.html
I've updated the binaries for the latest Red fixes
To get a clue which binding/library an example program uses, look 
in build.r
MaxV
25-Oct-2012
[155x5]
http://en.wikibooks.org/wiki/REBOL_Programmingnow it's a good guide 
on Rebol: what do you think?
I have to finish to add all "reserved" words description. You may 
help me if you want... ;-)
You can use the following code to make word description entry in 
the wikibook:
Rebol [Purpose: {make wikibook entry}
Author: "Max Vessi"
version: 1.0.0
]
my?: func [
    "Prints information about words and values."
    'word [any-type!]

    /local value args item type-name refmode types attrs rtype temp
][       
    temp:  copy ""
    if all [word? :word not value? :word] [word: mold :word]

    if any [string? :word all [word? :word datatype? get :word]] [
        types: dump-obj/match system/words :word
        sort types
        if not empty? types [
            print ["Found these words:" newline types]
            exit
        ]
        print ["No information on" word "(word has no value)"]
        exit
    ]
    type-name: func [value] [
        value: mold type? :value
        clear back tail value
        join either find "aeiou" first value ["an "] ["a "] value
    ]
    if not any [word? :word path? :word] [
        append temp reduce [mold :word "is" type-name :word]
        exit
    ]

    value: either path? :word [first reduce reduce [word]] [get :word]
    if not any-function? :value [

        append temp reduce [uppercase mold word "is" type-name :value "of 
        value: "]

        append temp either object? value [ reduce ["^/" dump-obj value] ] 
        [mold :value]
        exit
    ]
    args: third :value
    append temp  "= USAGE: = ^/ "

    if not op? :value [append temp reduce [ uppercase mold word " "] 
    ]
    while [not tail? args] [
        item: first args
        if :item = /local [break]

        if any [all [any-word? :item not set-word? :item] refinement? :item] 
        [
            append temp reduce [append mold :item " "]

            if op? :value [append temp reduce [append uppercase mold word " "]
	    value: none]
        ]
        args: next args
    ]
    append temp  "^/" 
    args: head args
    value: get word
    append temp "^/= DESCRIPTION: = ^/"
    either string? pick args 1 [
        append temp reduce [first args]
        args: next args
    ] [
        append temp "^/''(undocumented)''^/"
    ]

    append temp reduce [ "^/^/"uppercase mold word " is " type-name :value 
    " value."]
    if block? pick args 1 [
        attrs: first args
        args: next args
    ]
    if tail? args [exit]
    while [not tail? args] [
        item: first args
        args: next args
        if :item = /local [break]
        either not refinement? :item [

            all [set-word? :item :item = to-set-word 'return block? first args 
            rtype: first args]
            if none? refmode [
		append temp "^/= ARGUMENTS: =^/"
                refmode: 'args
            ]
        ] [
            if refmode <> 'refs [
                append temp "^/= REFINEMENTS: =^/"
                refmode: 'refs
            ]
        ]
        either refinement? :item [	   	  
            append temp reduce ["*'''" mold item "'''"]

            if string? pick args 1 [append temp reduce [" -- " first args] 
	    args: next args]
            append temp "^/"
        ] [
            if all [any-word? :item not set-word? :item] [
                if refmode = 'refs [append temp "*"]
                append temp reduce ["*'''" :item "''' -- "]

                types: if block? pick args 1 [args: next args first back args]

                if string? pick args 1 [append temp reduce [first args ""] 
		args: next args]
                if not types [types: 'any]
                append temp rejoin [" (Type: " types ")"]
                append temp "^/"
            ]
        ]
    ]
    if rtype [append temp reduce ["^/RETURNS:^/^-" rtype]]
    if attrs [
        append temp "^/= (SPECIAL ATTRIBUTES) =^/"
        while [not tail? attrs] [
            value: first attrs
            attrs: next attrs
            if any-word? value [
                append temp reduce  ["*'''" value "'''"]
                if string? pick attrs 1 [
                    append temp reduce [" -- " first attrs]
                    attrs: next attrs
                ]
                append temp "^/"
            ]
        ]
    ]
    editor temp
    exit
]
Usage, for example:
my?  view
Arnold
25-Oct-2012
[160]
I have put a script similar to the chess script on rebol org. It 
is a script to determine all possible moves in the international 
10x10 checkers game (dammen). It needs some improvement in how to 
represent the moves themselves, but the basics work. I'll post a 
board and simple board evaluating script soon. 
http://www.rebol.org/view-script.r?script=dam1.r

(I need also to find out how exactly to make a package from all needed 
files)
Kaj
29-Oct-2012
[161]
I've updated the above test binaries for the Red 0.3.0 alpha 1 release. 
Please test
Ladislav
30-Oct-2012
[162]
MaxV: I see you wrote: "ALIVE? is a logic of value: true" - I think 
that this needs a more thorough explanation, though.
MaxV
31-Oct-2012
[163x2]
>> source alive?
alive?: true
Is there anything else about ALIVE? ?
Kaj
31-Oct-2012
[165x2]
I've added Windows binaries for most dependency libraries to the 
above Red test program collection: cURL, SQLite, 0MQ, SDL and GTK 
and dependencies. With that, it becomes very easy to test them on 
Windows
I'm particularly interested in results for MSDOS/RedSystem/read-web-page 
and play-SDL-WAV. I haven't been able to use cURL to read a web page 
yet, and playing sample.wav appears in the Windows 7 mixer, but I 
haven't had audible sound yet
Kaj
2-Nov-2012
[167]
I've updated the test binaries for Red/System fix #279, fixing GTK 
window icon loading
Kaj
4-Nov-2012
[168]
I've cleaned up the Red bindings for the #enum passing bug that was 
fixed in Red/System 0.3.0. Most of the bindings need Red 0.3.0 now
GiuseppeC
5-Nov-2012
[169]
License announced: http://www.rebol.com/article/0517.html
It is Apache 2.0
GrahamC
5-Nov-2012
[170]
email suggestions on directors to [open-:-rebol-:-com]
Ladislav
6-Nov-2012
[171]
Reposting Carl Read's: "For those wanting an email list again, note 
there's already one on Google Groups: groups.google.com/forum/?fromgroups#!forum/rebol"
MaxV
7-Nov-2012
[172]
I just finished the full Rebol disctionary on: http://en.wikibooks.org/wiki/REBOL_Programming/Dictionary
there you can find also the source of the functions. 

It's a public wiki, you can add examples, correct bugs, add topics: 
you are welcome!
Ladislav
7-Nov-2012
[173]
Hmm, as I see it, you described R2. Now the question is whether it 
makes sense to add R3 description, eventually how.
Maxim
8-Nov-2012
[174x2]
Max did you start from R2's on-line dictionary?
it has a lot more than just the function's prototype and source.

it includes related,  examples and some usage text.
MaxV
8-Nov-2012
[176x3]
I made this: http://prezi.com/xyuhedfy0wmu/rebol/
what do you think?
It's public and you can copy and modify it
kensingleton
9-Nov-2012
[179]
Excellent Max - well done - that is a really cool demo for beginners 
or those curious
Arnold
9-Nov-2012
[180x2]
After the mirror game and the chessboard interface, the Red compiler 
script and various cgi scripts and showing all how radio buttons 
work in VID, I can now introduce to you the application to play checkers 
(10x10 international, in dutch dammen). Not bad for a REBOL newbie 
right? Wait a moment with all of your nominations please, because:

There is a tiny issue left with the moving of the pieces when playing 
against the computer but it is minor compared to all other issues 
I have already fixed ;-)


You can download the zip file with the program here http://arnoldvanhofwegen.com/stuff/damscripts.zip

Program is started with do %damb.r and you can play after setting 
the color the computer has to play with on the panel you get when 
you click the top-left button. You can look under the hood and see 
the values the program gives the legal moves. You can put your own 
positions on the board and continue from that point.
Enjoy!
The minor issue is fixed, your nominations are welcome ;D
Ladislav
10-Nov-2012
[182x2]
http://www.rebol.org/view-script.r?script=nistclock.r
https://groups.google.com/forum/?fromgroups=#!topic/Rebol/3-HC7YyJajs
NickA
10-Nov-2012
[184]
Thanks Ladislav - I use that script!
Kaj
12-Nov-2012
[185x2]
I updated my Fossil introduction for Syllable 0.6.7 and modified 
the example to be specifically for the Red test binaries, so it can 
now be used as a guide for getting the Red test programs:
http://rebol.esperconsultancy.nl/documentation/how-to-use-Fossil.html
Arnold
12-Nov-2012
[187]
MaxV, the Prezi way of presentation is cool indeed. Only problem 
for me to use it is that you need to be online when viewing. Been 
hoping this woul dbe possible using REBOL itself. Btw can you point 
me to the code of the example with the moving road?
MaxV
12-Nov-2012
[188]
Look here: http://www.rebol.net/demos/download.html

and here: http://www.rebol.net/demos/7B191CB087929081/christmas-drive2.0.1.r
Kaj
12-Nov-2012
[189]
Please use Ann-Reply to chat. Thanks
Geomol
14-Nov-2012
[190]
My game, Stunt Ace, has been released to iOS (iPhone, which also 
works on iPad).


Stunt Ace is a retro type game. REBOL was used in the development 
process to make a prototype and for the level editor. I also used 
the REBOL DRAW dialect to create the logo, icon and presentation 
graphics.


Stunt Ace can be found on Apple's App Store. The Android version 
can be found on Google Play.

Homepage: http://niclasen.name/stuntace.html

Stunt Ace was made using:
- Deluxe Paint on an Amiga
- GIMP
- Waldorf Pulse analogue synthesizer
- TimewARP 2600 analogue soft synth
- Roland A-90 keyboard
- A Mac
- A PC
- REBOL
- In-house software

Have fun!
NickA
14-Nov-2012
[191]
Congrats John!  Is World part of your development process for iOs?
Oldes
16-Nov-2012
[192]
I've uploaded new script:

https://github.com/Oldes/rs/blob/master/projects-rswf/pack-assets/latest/pack-assets.r
which I'm using with this one:

https://github.com/Oldes/rs/blob/master/projects-rswf/form-timeline/latest/form-timeline.r

to pack assets (bitmaps and animations) for prototype of Adobe AIR 
framework I'm working on which can be seen here:

https://github.com/Oldes/Starling-timeline-example(as a Flashdevelop 
project)