emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calc: `*' binds more strongly than `/'


From: David Kastrup
Subject: Re: Calc: `*' binds more strongly than `/'
Date: Thu, 19 Apr 2007 19:33:29 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.98 (gnu/linux)

"Drew Adams" <address@hidden> writes:

>> > I really have not followed this thread, but, viewed from 3000 m, it
>> > sounds as if different people have different preferences. Couldn't
>> > Emacs just offer a few precedence options, so users could choose the
>> > behavior they want?  (Then, of course, you could argue over the
>> > default value ;-).)
>>
>> Personal preference options for a _language_ don't make much sense.
>> They would keep programs from working everywhere.
>
> Well, I won't argue - as I said, I haven't followed the discussion
> closely.
>
> But I did think this was about preferences for entering (typing)
> arithmetic expressions. I see no reason that a calculator couldn't
> let users choose different precedence rules for entering
> expressions, or even let users switch between infix and reverse
> Polish notation, or,... I wouldn't be surprised if some calculators
> let you do that, but I'm no expert on this.

Calc has a large variety of import and export languages including most
computer languages, of course respecting the respective precedences.

But it also has its own, internal expression syntax.

Have you actually ever used calc yourself?

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

[Prev in Thread] Current Thread [Next in Thread]