Re: Pronouns in programming language?

"H. Ellenberger" <ele@freesurf.ch>
28 Feb 2000 03:06:00 -0500

          From comp.compilers

Related articles
[2 earlier articles]
Re: Pronouns in programming language? rweaver@ix.netcom.com (2000-02-28)
Re: Pronouns in programming language? pwagle@my-deja.com (2000-02-28)
Re: Pronouns in programming language? jjones@cs.uiuc.edu (2000-02-28)
Re: Pronouns in programming language? mal@bewoner.dma.be (Lieven Marchand) (2000-02-28)
Re: Pronouns in programming language? hamish.a@virgin.net (Hamish Atkinson) (2000-02-28)
Re: Pronouns in programming language? rkrayhawk@aol.com (2000-02-28)
Re: Pronouns in programming language? ele@freesurf.ch (H. Ellenberger) (2000-02-28)
Re: Pronouns in programming language? torbenm@diku.dk (2000-03-03)
Re: Pronouns in programming language? schairer@dai.ed.ac.uk (Axel Schairer) (2000-03-03)
Re: Pronouns in programming language? jejones@microware.com (James Jones) (2000-03-03)
Re: Pronouns in programming language? cbrtjr@ix.netcom.com (Charles E. Bortle, Jr.) (2000-03-06)
Re: Pronouns in programming language? cbrtjr@ix.netcom.com (Charles E. Bortle, Jr.) (2000-03-06)
Re: Pronouns in programming language? mal@bewoner.dma.be (Lieven Marchand) (2000-03-06)
[7 later articles]
| List of all articles for this month |

From: "H. Ellenberger" <ele@freesurf.ch>
Newsgroups: comp.compilers
Date: 28 Feb 2000 03:06:00 -0500
Organization: sunrise communications ag
References: 00-02-149
Keywords: syntax, design

John Fremlin wrote:


> Has any programming language/compiler implemented pronoun like
> constructs?


I see some problems with possible ambiguities. What if the 'do this'
also has conditional statements, even multiply nested?


This might be the reason why many languages have the 'select case'
construct,


which could generalized towards


    select (variable_with_long_name)
          case cond1a or cond1b and not cond1c: do this
          case cond2: do that
          else: fallback
    end select


HE


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.