2 USING: help.markup help.syntax ;
4 { $description "parsing word which converts the lisp code between <LISP and LISP> into factor quotations and calls it" }
5 { $see-also lisp-string>factor } ;
7 HELP: lisp-string>factor
8 { $values { "str" "a string of lisp code" } { "quot" "the quotation the lisp compiles into" } }
9 { $description "Turns a string of lisp into a factor quotation" } ;
11 ARTICLE: "lisp" "Lisp in Factor"
12 "This is a simple implementation of a Lisp dialect, which somewhat resembles Scheme." $nl
13 "It works in two main stages: "
15 { "Parse (via " { $vocab-link "lisp.parser" } " the Lisp code into a "
16 { $snippet "s-exp" } " tuple." }
17 { "Transform the " { $snippet "s-exp" } " into a Factor quotation, via " { $link convert-form } }
20 { $subsection "lisp.parser" } ;