2 USING: help.markup help.syntax strings io ;
5 { $values { "str" string } }
6 { $description "Parses Factor source code from a string, and calls the resulting quotation." }
7 { $errors "Throws an error if the input is malformed, or if the evaluation itself throws an error." } ;
10 { $values { "str" string } { "output" string } }
11 { $description "Evaluates the Factor code in " { $snippet "str" } " with " { $link output-stream } " rebound to a string output stream, then outputs the resulting string." } ;
13 ARTICLE: "eval" "Evaluating strings at runtime"
14 "Evaluating strings at runtime:"
16 { $subsection eval>string } ;