forked from rebol/rebol
-
Notifications
You must be signed in to change notification settings - Fork 2
Delect
angerangel edited this page Mar 15, 2013
·
1 revision
DELECT dialect input output /in where /all
Parses a common form of dialects. Returns updated input block.
DELECT is a native value.
- dialect -- Describes the words and datatypes of the dialect (object!)
- input -- Input stream to parse (block!)
- output -- Resulting values, ordered as defined (modified) (block!)
-
/in -- Search for var words in specific objects (contexts)
- where -- Block of objects to search (non objects ignored) (block!)
- /all -- Parse entire block, not just one command at a time
#SOURCE
delect: make native! [ [
{Parses a common form of dialects. Returns updated input block.}
dialect [object!] "Describes the words and datatypes of the dialect"
input [block!] "Input stream to parse"
output [block!] "Resulting values, ordered as defined (modified)"
/in {Search for var words in specific objects (contexts)}
where [block!] "Block of objects to search (non objects ignored)"
/all "Parse entire block, not just one command at a time"
] ]