[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Evaluation of "standard" style math expresssions.
From: |
Joakim Hove |
Subject: |
Re: Evaluation of "standard" style math expresssions. |
Date: |
Tue, 21 Sep 2004 13:53:03 +0200 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux) |
Alex Polite <m4@polite.se> writes:
> But I'd like to be able to eval expression where the notation is the
> kind you learn in school (eg (17 + 42))
>
> How do I do it?
Well,
you just can't (I think) evaluate (17 + 42) as a lisp expression. What
you of course could do was write a lisp function which parsed such
expressions, and then evaluated them, but I guess that is not what you
want.
Joakim
--
Joakim Hove
hove AT ift uib no
+47 (55 5)8 27 90
http://www.ift.uib.no/~hove/