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

World: r3wp

[!REBOL3-OLD1]

Maxim
22-Sep-2009
[17795x5]
(I mean it should be expanded to work with strings too)
but I can see how its complex to implement.
are the TO and THRU with multiple values on the table for 3.0  ?
yes it seems they are, cool, 


with conditionals also making the cut, I believe, 3.0 parse will 
be a hell of a mean monster for data crunching.
damn, the blog is giving me abuse notifications.  :-(
Pekr
22-Sep-2009
[17800]
you can't poste way too frequently :-)
Henrik
22-Sep-2009
[17801x2]
does anyone have trouble escaping from a long operation in the R3 
console?
hmm... I guess you use Ctrl-C, but that doesn't seem to be correct 
signalling in the OSX console. I would expect R3 to quit. Then again, 
the Python console does the same.
Pekr
22-Sep-2009
[17803]
R3 console is substandard, at least under Window. Dunno what you 
mean, but I have some problems when I start it - sometimes there 
is busy indicator long time even after console is launched, sometimes 
it starts and does not get its focus ....
Oldes
22-Sep-2009
[17804]
There is also bug that it's not escape from WAIT.
Pekr
22-Sep-2009
[17805]
yes, you can't ESC from wait .... what a let-down :-)
Henrik
22-Sep-2009
[17806]
http://www.rebol.net/r3blogs/0248.html

Oh, now this is fun.
Pekr
22-Sep-2009
[17807]
... getting better and better, heh? :-)
Henrik
22-Sep-2009
[17808]
this is probably the best part
Maxim
22-Sep-2009
[17809]
its definitely going to make it easier for people to learn it and 
for advanced users to debug complex rules  :-)
BrianH
22-Sep-2009
[17810]
USE 2 won't work - see the editor's notes (I was the editor).
Maxim
22-Sep-2009
[17811]
k
Pekr
22-Sep-2009
[17812]
I think I don't understand the outcome of EITHER parse blog.  don't 
like + sign, as I immediatelly think in math terms ...
BrianH
22-Sep-2009
[17813]
Parse theory is a branch of math.
Pekr
22-Sep-2009
[17814]
I don't care of theory. If I want to be like others, I go for (for 
me) totally unreadable regular expressions ...
BrianH
22-Sep-2009
[17815]
We're talking about having STAY be changed to infix &. It's cool 
to hear that infix is possible (according to Carl).
Pekr
22-Sep-2009
[17816x2]
When I read initial EITHER proposal, it was imediatelly clear, what 
it does. Whereas I am looking at following code, not being able to 
gues, what it is about. It way too much implies math operation, not 
some lexical thing:

[a + b | c | d]
[a + 2 b | c | d]
[a + not b | some c | d]
why not use ! instead of word NOT then?
BrianH
22-Sep-2009
[17818]
When I read the initial EITHER proposal, I gave it a maybe. It didn't 
act like the EITHER function, and that would be confusing.
Maxim
22-Sep-2009
[17819x3]
I REALLY don't like where this is headed...  :-(
sorry... we clamour about parse not being RE and here we are making 
it possibly even more obscure... with implied branches... by using 
a "+" no less.... sorry.
[a 2 + b | c | d | e]   is   beyond obscure.
BrianH
22-Sep-2009
[17822x2]
I don't like ! instead of NOT, siince it's too hard to distinguish 
visually from |.
I don't clamor about parse not being like RE - that is its strength. 
I've never considered that difference a problem.
Maxim
22-Sep-2009
[17824x2]
parse is readable, I'd rather have EITHER with blocks than some infix 
operators which loose the sense of PARSE...

sorry I mis-interpreted that word as a loud bragging.
(clamor)
BrianH
22-Sep-2009
[17826x2]
And they're not implied branches - it's an explicit statement. If 
you don't like the name + that's fine, it's the changed semantics 
I like.
The only problem that I have with + is  that it's *not* an infix 
operator, it's prefix.
Pekr
22-Sep-2009
[17828]
this is really - WTF for me. It turns parse into unreadable guru 
stuff with such a semantics ...
BrianH
22-Sep-2009
[17829]
& would be infix, a replacement for STAY (originally called AND, 
then AT).
Pekr
22-Sep-2009
[17830]
just don't replace STAY word with &, if you don't want to make situation 
even worse ...
Maxim
22-Sep-2009
[17831]
its like saying 


when I say implied, I really mean that you cannot just look at rules 
like they are now with a single use bblocks for many rules.  it terminates 
 somewhere later ... you must find an  | statement....  which doesn't 
properly map to open or close something... its implied based on something 
else before it...  [ ]  are explicit.
BrianH
22-Sep-2009
[17832]
STAY was a bad choice. AND was better - the only reason I picked 
AT is because I thought infix was impossible.
Maxim
22-Sep-2009
[17833x2]
its like saying
  sorry... don't know where that came from... ignore
but what's the point of AND   everything is already AND by default. 
just put them in a block, so they are and.  when you read & it doesn' 
appear that the parser isn't moving forward.
BrianH
22-Sep-2009
[17835]
EITHER doesn't work like EITHER, and it needs to be prefix, and use 
the semantics of Carl's + proposal or it won't work. Suggest a name 
to be used instead.
Maxim
22-Sep-2009
[17836x2]
the only thing he's complaining about is putting things in a block... 
what's the problem with that?
either [] [] []  can't be more explicit thant that... what is the 
problem with blocks?  or a paren for the condition?  really I don't 
get it.
BrianH
22-Sep-2009
[17838x2]
If you see | it doesn't say that the parser is backtracking either. 
& is the opposite of |.
To use a tool it sometimes helps to know how. Assume some basic reading 
of docs will be needed to use a programming language.
Pekr
22-Sep-2009
[17840]
BrianH: COPY is NOT COPY, so what?
BrianH
22-Sep-2009
[17841x3]
EITHER doesn't need to skip past |, so pick another name. It will 
be prefix. Suggest it in the 249 blog.
This is not the same thing as a programming language conditional 
- it is a GTDPL concept.
Just like CHECK isn't like IF, it's like ASSERT.
Pekr
22-Sep-2009
[17844]
I can't suggest anything, as I don't understand what the article 
is all about. Stuff like  - "advance past the next 2 alternate rules 
on failure."