Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site umcp-cs.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!whuxlm!harpo!decvax!genrad!panda!talcott!harvard!seismo!umcp-cs!chris From: chris@umcp-cs.UUCP (Chris Torek) Newsgroups: net.lang Subject: Re: Operator Precedence Message-ID: <1502@umcp-cs.UUCP> Date: Fri, 6-Sep-85 09:18:53 EDT Article-I.D.: umcp-cs.1502 Posted: Fri Sep 6 09:18:53 1985 Date-Received: Mon, 9-Sep-85 01:20:20 EDT References: <262@pedsgd.UUCP> Organization: U of Maryland, Computer Science Dept., College Park, MD Lines: 19 There *are* languages without any operator precedence stuff (except parentheses). APL, Lisp, and FORTH spring to mind. (The last two may not count as one doesn't write typical algebraic expressions.) Another interesting(?) idea would be to base operator binding on spacing: expressions that "look" like they are done first, are done first. (This isn't my idea, by the way.) That is, a <- b+c * 4 would be equivalent to a <- (b + c) * 4 (Personally I think this is worse than no precedence). -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 4251) UUCP: seismo!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@maryland