[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | skaller <skaller@u...> |
| Subject: | Re: [Caml-list] CFG's and OCaml |
On Sun, 2004-08-15 at 06:57, Marcin 'Qrczak' Kowalczyk wrote: > W liście z sob, 14-08-2004, godz. 15:55 -0500, Brian Hurt napisał: > > > The AST of a<b<c has to be one of two ways: > > > > < < > > / \ / \ > > a < or < c > > / \ / \ > > b c a b > > No, it can also be an error, which is IMHO a better choice. > Unless it's made equivalent to a < b && b < c, like in Python. Not in C++ where < can be overloaded. In that case, (a < b) < c could be quite meaningful :) -- John Skaller, mailto:skaller@users.sf.net voice: 061-2-9660-0850, snail: PO BOX 401 Glebe NSW 2037 Australia Checkout the Felix programming language http://felix.sf.net ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners