On Thu, Sep 17, 2009 at 11:33 AM, Paul Moore <[email protected]> wrote: > Look at it another way - if the 3/4 rational number syntax wasn't > already part of factor, would I be able to add it in user code? The > fact that the syntax isn't defined in math.ratio, implies to me that > the answer is "no".
Correct -- in the parser, every token is either a word or a number, and while you can define all the new words you want, you cannot define new forms of numeric literals. Sorry :-) Slava ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
