]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/eval/eval.factor
basis: use lint.vocabs tool to trim using lists
[factor.git] / basis / eval / eval.factor
index 9256454863edf55913a0e487c3cee34b0e4291f3..a4efaa366f6a3782d6c89a815b64175e2780c3f6 100644 (file)
@@ -1,9 +1,8 @@
 ! Copyright (C) 2008, 2009 Slava Pestov.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: combinators combinators.smart compiler.units
-continuations debugger effects.parser io io.streams.string
-kernel namespaces parser parser.notes prettyprint sequences
-splitting ;
+continuations debugger effects.parser io.streams.string
+kernel namespaces parser parser.notes prettyprint splitting ;
 IN: eval
 
 : parse-string ( str -- quot )
@@ -35,7 +34,7 @@ SYNTAX: eval( \ eval parse-call-paren ;
 : (eval-with-stack>string) ( str -- output )
     [
         parser-quiet? on
-        [ eval-with-stack ] [ nip print-error ] recover
+        [ (eval-with-stack) ] [ nip print-error ] recover
     ] with-string-writer ;
 
 : eval-with-stack>string ( str -- output )