Re: Arithmetic simplifier

2018-08-20 Thread Ivan Pierre
That's normal read-string is : Sequentially read and evaluate the set of forms contained in the string So you have to read EVERY S-expressions in a loop. BUT 1x is not an S-Expr... Trying a number, but x doesn't work, Trying a symbol, but 1 as first char doesn't work. The best way is to read

Re: Unqualified symbol resolution during evaluation

2018-08-20 Thread Colin Fleming
Note that the doc on that page says: Note that class names normally denote class objects, but are treated > specially in certain special forms, e.g. . and new. > Basically, only a class makes sense as the first argument to new, and I suspect new doesn't use the standard symbol resolution. On Mon