Re: First use of Lisp at work!
From: Pascal Bourguignon (spam_at_mouse-potato.com)
Date: 11/10/04
- Next message: Pascal Bourguignon: "Re: OT: TypeMatrix keyboard"
- Previous message: Maahes: "Re: C++ sucks for games"
- In reply to: Paul Khuong: "Re: First use of Lisp at work!"
- Next in thread: William Bland: "Re: First use of Lisp at work!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 10 Nov 2004 12:11:40 +0100
pkhuong@gmail.com (Paul Khuong) writes:
> Mmm. Interesting. How do they deal with the precedence of unary and
> binary minus? (Aaah, unary minus having lower precedence than
> exponentiation. The source of so many middle school errors :)
> Actually, how does your parser deal with them? I only took a quick
> look at the infix2lisp part, so i'm not sure how it copes with that
> problem.
I don't know who the various infix languages cope with it, but I know
how I do: add parenthesis!
((-n)^2)-1
or: -((n^2)-1)
-- __Pascal Bourguignon__
- Next message: Pascal Bourguignon: "Re: OT: TypeMatrix keyboard"
- Previous message: Maahes: "Re: C++ sucks for games"
- In reply to: Paul Khuong: "Re: First use of Lisp at work!"
- Next in thread: William Bland: "Re: First use of Lisp at work!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|