Related articles |
---|
Dangling else borneq@nborneq.nospam.pl (borneq) (2006-02-19) |
Re: Dangling else haberg@math.su.se (2006-02-19) |
Re: Dangling else wyrmwif@tsoft.org (SM Ryan) (2006-02-24) |
Re: Dangling else rsc@swtch.com (Russ Cox) (2006-02-24) |
Re: Dangling else rsc@swtch.com (Russ Cox) (2006-02-24) |
Re: Dangling else wyrmwif@tsoft.org (SM Ryan) (2006-03-05) |
Re: Dangling else wyrmwif@tsoft.org (SM Ryan) (2006-03-05) |
Re: Dangling else jvorbrueggen-not@mediasec.de (=?ISO-8859-1?Q?Jan_Vorbr=FCggen?=) (2006-03-05) |
Re: Dangling else henry@spsystems.net (2006-03-05) |
Re: Dangling else david.thompson1@worldnet.att.net (Dave Thompson) (2006-03-05) |
Re: Dangling else mailbox@dmitry-kazakov.de (Dmitry A. Kazakov) (2006-03-06) |
Re: Dangling else rsc@swtch.com (Russ Cox) (2006-03-06) |
[7 later articles] |
From: | SM Ryan <wyrmwif@tsoft.org> |
Newsgroups: | comp.compilers |
Date: | 5 Mar 2006 02:16:35 -0500 |
Organization: | Quick STOP Groceries |
References: | 06-02-168 |
Keywords: | syntax, parse |
Posted-Date: | 05 Mar 2006 02:16:35 EST |
"Russ Cox" <rsc@swtch.com> wrote:
# Early programmers managed to show how to write programs with
# conditionals and loops and function calls simply writing their
Look up "dangling else" and open and closed statemtents from
Pascal and the corrected correction of Revised Algol-60 to
see how to do it
# I find the "make the programmer do it" approach to precedence
# completely unsatisfying. I'd rather just have "expression" and then
# give a list of operator precedences somewhere than have to compile the
It's not that simple. Immediately issues like right
associativity and special forms like C's ?: come up.
--
SM Ryan http://www.rawbw.com/~wyrmwif/
Return to the
comp.compilers page.
Search the
comp.compilers archives again.