From: Mathieu Bouchard Date: 2001-06-10T17:34:56+09:00 Subject: [ruby-talk:16383] Symbolic Computation I don't remember whether the following has been done in Ruby yet, but I did it tonite. It turns Ruby numeric expressions into trees, and then into Lisp prefix notation. ----------------8<----------------cut-here----------------8<---------------- class Quote class< and the answer is (- (* (* (+ 2 a) 3) b) (/ (* 2 a) c)) matju