rebol

Rebol SOAP Server

Where can I find the source of the soap server in rebol mentioned here: http://www.rebolplanet.com/zine/rzine-1-02/#sect6. the link http://www.compkarori.co.nz/reb/discordian.txt doesn't work any more. ...

Rebol MSAccess ODBC: works with DNS connection but not with DNSLess Connection

I have tested the new free Rebol ODBC with MS Access after reading the doc here http://www.rebol.com/docs/database.html It works with ODBC DNS connection but when I tested with this DNSLess connection (MSAccess2003 file with MSAccess2007 installed): connect-name: open [ scheme: 'odbc target: join "{DRIVER=Microsoft Access Driv...

How to parse a hierarchical structure in Rebol ?

I have reread chapter http://www.rebol.com/docs/core23/rebolcore-15.html on any and parse but can't achieve to parse this kind of hiearchical structure: is it possible ? <Multipage> <tab id=1> <box id=1> </box> </tab> <tab id=2> <box id=2> Hello </box> </tab> <tab> </tab> <tab> </tab> </Multipage> ...

Parse and charset: why my script doesn't work

I want to extract attribute1 and attribute3 values only. I don't understand why charset doesn't seem to work in my case to "skip" any other attributes (attribute3 is not extracted as I would like): content: {<tag attribute1="valueattribute1" attribute2="valueattribute2" attribute3="valueattribute3"> </tag> <tag attribute2="valueattribut...

Can free rebol 2.7.7 read in Windows Registry ?

I thought I have seen this somewhere but can't find it any more on google ? ...

Parse and Break: why break cannot be used for getting out of "any" or "some" rule ?

Let say I have to parse a hierarchical set of tags <tag> <subtag1 attr1=value1 attr2=value2> <subtag1 attr1=value1 attr2=value2> <subtag1 attr1=value1 attr2=value2> </tag> Why can't I use break inside some or any to get out of a level hierarchy ? This would allow to do that kind of parsing instead of having a headache to do so ? I'm ...

I thought this parsing would be simple...

... and I'm hitting the wall, I don't understand why this doesn't work (I need to be able to parse either the single tag version (terminated with />) or the 2 tag versions (terminated with ) ): Rebol[] content: {<pre:myTag attr1="helloworld" attr2="hello"/> <pre:myTag attr1="helloworld" attr2="hello"> </pre:myTag> <pre:myTag ...

Is there any library that ressembles a workflow engine in Rebol ?

Have made a search on google http://www.google.com/search?q=workflow+engine+rebol Just saw some invocation but nothing concrete. So really nothing exists ? That's weird, Rebol would be good at that with its DSL capability I think. ...

Problem with recursivity in rebol

I have a block on which I want to iterate recursively folders: [ Chrome [ content [ preferences prefpages ] ] icons [ default ] locale [ en-EN [ csbar ] ] skin ] with this function: iterate-folder: func [folders [block!]][ fore...

change/part doesn't work as expected with parse

According to http://www.rebol.com/docs/core23/rebolcore-15.html You can use change/part to parse and replace but that doesn't work well with this where I just try to replace the block <mytag > ... </mytag> by "MyString" content: {<mytag id="a" 111111111111111> </mytag> aaaaaaaaaaaaaaa aaaaaaaaaaaaaaa <mytag id="b" 22222222222222222...

Will async come back one day ?

I don't understand why async as described here http://www.rebol.com/article/0050.html is no more available in lastest releases. Will it return back any time soon or has the name changed ? ...

Tried http post doesn't work

I wanted to try the example here http://www.codeconscious.com/rebol/rebol-net.html#HTTP print read/custom http://babelfish.altavista.com/translate.dyn reduce ['POST {text=REBOL+Rules&lp=en_fr}] Since the page has changed since I modified it to write clipboard:// read/custom http://babelfish.altavista.com/translate.dyn reduce ['POST ...

REBOL: How to do another task while waiting an alarm to trigger ?

So I have created an alarm function: alarm: func[seconds message [string! unset!]][ wav: load %attention.wav sound-port: open sound:// wait seconds do [ insert sound-port wav wait sound-port close sound-port if (value? 'message) [ print message ] ] ] which works like this: alar...

My webservice works with soapclient.com but not with soapsonar software:

I have put a webservice I found here http://www.rebolforces.com/zine/rzine-1-02/#sect6. on my own website. I tested http://reboltutorial.com/discordian.wsdl with http://www.soapclient.com/soaptest.html it did work as I got this answer Sweetmorn, Discord 48, Year of Our Lady of Discord 3176 But doing the same thing with soapsona...

How to pick a letter in a charset ?

Would like to do this: letters: charset "ABCDEFGHIJKLMNOPQRSTUVWXYZ" pick letters 2 but pick doesn't work with charset so what should I use with charset to get the letter at position 2 ? ...

I need to generate 50 Millions Rows csv file with random data: how to optimize this program ?

The program below can generate random data according to some specs (example here is for 2 columns) It works with a few hundred of thousand lines on my PC (should depend on RAM). I need to scale to dozen of millions row. How can I optimize the program to write directly to disk ? Subsidiarily how can I "cache" the parsing rule executio...

How to bind to foreach context ?

Currently I have this snippet of code: Blocks: ["F4369RO771" "282273" "5" "146" "126" "6-Nov-2009" "8-Jan-2010" "7-Jun-2010" "8" "M9881KI923" "399727" "2" "359" "443" "5-Aug-2010" "23-Feb-2010" "6-Nov-2009" "4" ] save-blocks: func[file /local f out][ foreach [field1 field2 field3 field4 field5 field6 field7 field8 field9] block...

How to just pop up a wait message window in rebol view ?

I just want to popup a wait message window in rebol view, but there's no option to do so with View command as View win: layout [text "wait"] do-some-lengthy-task Unview win will block the script until the user close the message himself which is not wanted here of course. So how to make non-blocking view ? ...

is it possible to have static variable inside a rebol function ?

This shows how to have a static variable inside an object or context: http://www.mail-archive.com/[email protected]/msg04764.html But the scope is too large for some needs, is it possible to have a static variable inside an object function ? ...

How to sort this rebol domain names block on date ?

I want to sort this block on date column: ["domain1.com" 18-Jan-2011 #"^/" "domain2.com" 20-Aug-2011 #"^/" "domain3.com" 23-Dec-2011 #"^/" "domain4.com" 22-Sep-2011 #"^/"] I can't see how to really do so with sort/skip function explained here, it's not crystal clear for me: http://www.rebol.com/docs/words/wsort.html ...