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

World: r3wp

[Ann-Reply] Reply to Announce group

Terry
19-Feb-2005
[32]
It already is.  You may notice on the Health group a number of Rebols 
have opted out.
Anton
19-Feb-2005
[33]
I see opportunities to write code being wasted here.
Graham
19-Feb-2005
[34x2]
just wondering why ann-reply is also a private group
but everyone is in it
Ammon
20-Feb-2005
[36]
How's that?
Graham
20-Feb-2005
[37]
ok, who's the wise guy who changed it ?
Terry
20-Feb-2005
[38x2]
?
Ahh, the privacy thing.. I'm guessing that someone exited the group, 
then returned.. but forgot to make it public again.. till now.
Graham
20-Feb-2005
[40]
we lack a history of changes
Ammon
20-Feb-2005
[41]
I'm the one who made it public again, not sure who made it private...
Graham
22-Feb-2005
[42]
congrats rebol-france
shadwolf
22-Feb-2005
[43]
Thank you graham we are preparing the next steps like improvement 
the conversion to MD2 in order to release it on RT doc server as 
soon it is online ;)
Graham
22-Feb-2005
[44]
U used mdp ?
shadwolf
22-Feb-2005
[45x2]
non dokuwiki format to enhance work abality and reability we decided 
to open a dokuwiki widly open to anyone
but we have yet Vincent Ecuyer that  make an MD2 convertion script 
that retrieves the pages from de dokuwiki on line and write on the 
local hard drive the file containing the infos converted to MD2 format
Graham
22-Feb-2005
[47]
just looking at the docuwiki docs now.
shadwolf
22-Feb-2005
[48]
REBOL is a true killing app for all those kind of little conversion 
script little but very powerfull
Anton
22-Feb-2005
[49]
Congratulations! I was impressed by the website progress display, 
whose visual feedback surely helped you to reach your goals.
Sunanda
22-Feb-2005
[50]
Nice work, guys!

It's a trail-blazing project that I hope inspires others to follow.
shadwolf
22-Feb-2005
[51x2]
Sunanda I hope it too ;)
this kind of project allows every one even ones who are weak in programming 
to participate and learn ;)
Geomol
23-Feb-2005
[53x2]
There's a problem with my RebXML format, now that I wanna use a slash 
to make an empty element. The problem arise, when having string content 
after the slash, because it'll then be seen as an attribute. I'm 
working on it...
I don't think, the problem can be solved, so I have to go back to 
using an empty string to define an empty element. The problem is, 
that:
{<doc><element att="value" />some text</doc>}
is a valid XML string. The RebXML version is:
[doc [element att "value" / "some text"]]
and that will be converted back to:
{<doc><element att="value" /="some text">}

because the slash is seen as a word by the parse command, and then 
it's recognized as an attribute, because attributes are defined as 
a word! and a string!.


I'll think about it a little longer and give you guys the option 
to point me to a solution. Else I'll just change it back.
DideC
23-Feb-2005
[55x2]
I understand you want to use "/" as XML does. But may be considering 
another character is easier :
>> type? #
== issue!
>> parse [#][#]
== true
>> parse [#][set t issue!]
== true
Geomol
23-Feb-2005
[57x3]
Yes, that's a good suggestion. Will it be too weird to define an 
empty element with a #? hmm
[doc [element att "value" # "some text"]]
How does that look?
Ok, I desided to go with the # method. Thanks DideC! :-)
DideC
23-Feb-2005
[60]
no problem ;-)
Anton
23-Feb-2005
[61x2]
Geomol, can't you just make an exception for words beginning with 
a slash ?
I mean, "/" = form word  ?
Geomol
24-Feb-2005
[63]
I haven't found a way to do that within a parse rule. It's like parsing 
words and stop with a certain word.


parse [word1 word2 word3 X word4 word5] [any ['X (stop parsing!!!) 
| word!]]

How do I stop?
Tomc
24-Feb-2005
[64]
break
JaimeVargas
24-Feb-2005
[65]
parse [word1 word2 word3 X word4 word5 [any ['X break | word!]]
Geomol
24-Feb-2005
[66]
And then start the parse again from that point. Hmmm, a possbility! 
:-)
JaimeVargas
24-Feb-2005
[67]
parse [w1 w2 w3 X w4 w5] [any ['X (print 'stop) break | word!] to 
end]  ;maybe clearer
Geomol
24-Feb-2005
[68x2]
That's it! Thanks!
And I consider myself a programmer. ;-)
Tomc
24-Feb-2005
[70]
if you are going to restart parse at that point maybe a skip  or 
'X here: (here: next :here) :here
Geomol
24-Feb-2005
[71x3]
break only break out of that inner rule, not the parse, so it's no 
problem. It's actually the way, I wanted it.
parse [w1 w2 w3 X w4 w5] [any ['X (print 'stop) break | set w word! 
(print ["Word:" w])]
any [set w word! (print ["More words:" w])]]
Tomc, I may have misunderstood you. I think, you meant the same as 
I. Anyway it seems to work ok now. :-)
Graham
25-Feb-2005
[74]
pretty cool Ashley - mdviewer.r
DideC
25-Feb-2005
[75]
Ashley: awesome !
Sunanda
25-Feb-2005
[76]
Looks good Ashley.....A nice piece of work.

One tiny thing.  It needs a 'needs in the REBOL header  -- otherwise 
it looks like it'll run on the current live release of REBOL/View 
(it almost does, but the info button fails as stats is not valid)
shadwolf
25-Feb-2005
[77x2]
nice work ashley I'm going to study your code to see have is your 
new method and inspire me of it to MDP-GUI preview rending
MDViewer is really cute and speedy !!! A piece of art work  Ashley 
once again I have so mutch to learn from you  !!
Dockimbel
25-Feb-2005
[79]
Congratulations Ashley, impressive result !
Anton
26-Feb-2005
[80]
Mmm.. looks like I'm just going to have to read-thru that link...
Pekr
26-Feb-2005
[81]
... we need another, probably speech free separate community server, 
where ppl meet not only because of rebol, but because they want to 
...