Re: Supporting multiple input syntaxes

gah4 <gah4@u.washington.edu>
Sun, 23 Aug 2020 14:26:27 -0700 (PDT)

          From comp.compilers

Related articles
[4 earlier articles]
Re: Supporting multiple input syntaxes mijoryx@yahoo.com.dmarc.email (luser droog) (2020-08-13)
Re: Supporting multiple input syntaxes mijoryx@yahoo.com.dmarc.email (luser droog) (2020-08-13)
Supporting multiple input syntaxes davidlovemore@gmail.com (David Lovemore) (2020-08-15)
Re: Supporting multiple input syntaxes mijoryx@yahoo.com.dmarc.email (luser droog) (2020-08-15)
Re: Supporting multiple input syntaxes davidlovemore@gmail.com (David Lovemore) (2020-08-16)
Re: Supporting multiple input syntaxes mijoryx@yahoo.com.dmarc.email (luser droog) (2020-08-20)
Re: Supporting multiple input syntaxes gah4@u.washington.edu (gah4) (2020-08-23)
Re: Supporting multiple input syntaxes mijoryx@yahoo.com.dmarc.email (luser droog) (2020-08-23)
Re: Supporting multiple input syntaxes mijoryx@yahoo.com.dmarc.email (luser droog) (2020-08-23)
Re: Supporting multiple input syntaxes antispam@math.uni.wroc.pl (2021-02-11)
Re: Supporting multiple input syntaxes elronnd@elronnd.net (Elijah Stone) (2021-02-17)
Re: Supporting multiple input syntaxes antispam@math.uni.wroc.pl (2021-02-23)
Re: Supporting multiple input syntaxes ltcmelo@gmail.com (ltc...@gmail.com) (2021-03-14)
[1 later articles]
| List of all articles for this month |
From: gah4 <gah4@u.washington.edu>
Newsgroups: comp.compilers
Date: Sun, 23 Aug 2020 14:26:27 -0700 (PDT)
Organization: Compilers Central
References: 20-08-002
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="562"; mail-complaints-to="abuse@iecc.com"
Keywords: C, parse
Posted-Date: 23 Aug 2020 23:13:43 EDT
In-Reply-To: 20-08-002

On Wednesday, August 12, 2020 at 3:32:56 PM UTC-7, luser droog wrote:
> I've got my project successfully parsing the circa-1975 C syntax
> from that old manual. I'd like to add parsers for K&R1 and c90
> syntaxes.


(snip)


I remember using a later C compiler that accepted
the older form of assignment operators, such as =+, =-, etc.
Presumably for those with older code.


I then had to put an extra space when assigning negative values:


      i= -4;


I don't remember now how I found out about that one.


That is the only old C syntax I remember.
(And much later than 1975.)



Post a followup to this message

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