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

AltME groups: search

Help · search scripts · search articles · search mailing list

results summary

worldhits
r4wp1
r3wp3
total:4

results window for this page: [start: 1 end: 4]

world-name: r4wp

Group: #Red ... Red language group [web-public]
DocKimbel:
1-Oct-2012
Implemented IF and EITHER, I just wanted to share their implementation 
with you (extract from Red compiler source)::

	comp-if: does [
		comp-expression		
		emit compose [	
			if (logic-true?)
		]
		comp-sub-block
	]
	
	comp-either: does [
		comp-expression		
		emit compose [	
			either (logic-true?)
		]
		comp-sub-block
		comp-sub-block
	]

Shouldn't be more complex than that, no? ;-)

world-name: r3wp

Group: !RebGUI ... A lightweight alternative to VID [web-public]
Vincent:
6-Mar-2005
agree, COPY not needed - just an habit when I modify blocks, but 
here I did it two times wrong:
- the 'draw sub-block is modified, so it should be copy/deep 
- no 'copy needed with 'make, who does copy/deep
Group: Rebol School ... Rebol School [web-public]
Geomol:
6-Feb-2009
The second argument to parse can be a string, and then parse split 
up the first argument, or the second argument can be a block of parsing 
rules. out is just my output block.

So the parsing rules go:
1) first any of a sub-block of sub-rules

2) sub-block copy the input string to a point, where two newlines 
are found, the result in the variable: arg

3) the paranthesis is evaluated (as normal REBOL code), and it append 
arg (the part of the string, we just copied) to the variable out
4) the parser then skip any number of newlines (2, 3 or more)

5) when the sub-rules are not valid any longer, the input string 
is copied till the end (and appended to out as before)
Group: !REBOL3 Proposals ... For discussion of feature proposals [web-public]
Maxim:
12-Nov-2010
AFAICT its not lexical since it will properly return to any rule 
which uses a referenced sub rule via a world as well as a sub-block