Delect

angerangel edited this page Jan 3, 2013 · 2 revisions
Clone this wiki locally

Table of Contents

USAGE

  DELECT dialect input output /in where /all

DESCRIPTION

Parses a common form of dialects. Returns updated input block. DELECT is a native value.

ARGUMENTS

  • dialect -- Describes the words and datatypes of the dialect (object!)
  • input -- Input stream to parse (block!)
  • output -- Resulting values, ordered as defined (block!)

REFINEMENTS

  • /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"
    /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"
] ] 

See also

See also: http://rebol.net/wiki/Delect