Slava Pestov <[EMAIL PROTECTED]> wrote:
> Try adding a USE: there
> 
> USING: math prettyprint ;
> 20 20 * .
> 
> Do you think the evaluate service should use a default set of  
> vocabularies, just like the listener does?

Default set would be nice.

I've browsed the code a bit and I see two possible solutions:

1.) A new eval>string (or eval without parse-fresh) that includes
more vocabs.

2.) Prepending a fat "USING: ... ; " string in
extra/ui/cocoa/tools/tools.factor before calling eval>string


Solution 2 seems easy, but feels strange.


-- 
Web (en): http://www.no-spoon.de/ -*- Web (de): http://www.frell.de/


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to