Re: Why are ambiguous grammars usually a bad idea? Why are languages usually defined and implemented with ambiguous grammars?

mac <acolvin@efunct.com>
Mon, 3 Jan 2022 19:51:53 -0000 (UTC)

          From comp.compilers

Related articles
| List of all articles for this month |
From: mac <acolvin@efunct.com>
Newsgroups: comp.compilers
Date: Mon, 3 Jan 2022 19:51:53 -0000 (UTC)
Organization: A noiseless patient Spider
References: 21-12-003 21-12-017 21-12-022 21-12-026 21-12-033
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="25050"; mail-complaints-to="abuse@iecc.com"
Keywords: history, syntax
Posted-Date: 03 Jan 2022 14:58:36 EST

> [Interesting take. In reality, of couse, BASIC borrowed that from Fortran. Algol
> used := for assignment, different from = for equality comparison. -John]


Indeed.
Unfortunately, assignment is probably the single most common operator.
The ASCII committee should have kept the left-arrow character instead of
replacing it with underscore.


Post a followup to this message

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