1 May 19:03
Re: The Evaluate Service on MacOS X needs more vocabs?ready
From: Stefan Scholl <stesch@...>
Subject: Re: The Evaluate Service on MacOS X needs more vocabs?ready
Newsgroups: gmane.comp.lang.factor.general
Date: 2008-05-01 17:03:12 GMT
Subject: Re: The Evaluate Service on MacOS X needs more vocabs?ready
Newsgroups: gmane.comp.lang.factor.general
Date: 2008-05-01 17:03:12 GMT
Slava Pestov <slava@...> 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
RSS Feed