Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!psuvax1!news From: schwartz@groucho.cs.psu.edu (Scott Schwartz) Newsgroups: comp.arch Subject: Re: obtaining (A * B + C) D (was bizarre instructions) Message-ID: Date: 26 Feb 91 21:32:02 GMT References: <9102220245.AA14853@ucbvax.Berkeley.EDU> <10278@dog.ee.lbl.gov> <6870@mentor.cc.purdue.edu> <10313@dog.ee.lbl.gov> Sender: news@cs.psu.edu (Usenet) Organization: penn state computer science Lines: 15 In-Reply-To: torek@elf.ee.lbl.gov's message of 26 Feb 91 21:02:40 GMT Nntp-Posting-Host: groucho.cs.psu.edu In article <10313@dog.ee.lbl.gov> torek@elf.ee.lbl.gov (Chris Torek) writes: If you want flexible syntax, there is always Lisp, :-) Or ML: % sml Standard ML of New Jersey, Version 0.66, 15 September 1990 val it = () : unit - infix 7 // fun op // (a:int, b:int): (int*int) = (a div b, a mod b); - val (x, y) = 15 // 7; val x = 2 : int val y = 1 : int No operator overloading, though. Brought to you by Super Global Mega Corp .com