From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,3b05f12bd7a2a871 X-Google-Attributes: gid103376,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: Lexical Conundrum Date: 1998/02/23 Message-ID: #1/1 X-Deja-AN: 327883704 References: <01bd3d80$101287c0$LocalHost@xhv46.dial.pipex.com> <888217846.855378@wagasa.cts.com> X-Complaints-To: usenet@news.nyu.edu X-Trace: news.nyu.edu 888252230 7095 (None) 128.122.140.58 Organization: New York University Newsgroups: comp.lang.ada Date: 1998-02-23T00:00:00+00:00 List-Id: Keith says <> I don't see this (lexical legality rules easier to describe). There is no problem in the lexical legality rules in Ada. There are rules for each lexical token that are clear, and rules for how they are written down in a sequence. I suppose it might be nice if one can immediately tell how tokens are broken up with no additional information, but in practice this is a problem neither for the Ada programmer, nor for the Ada compiler writer, since there are never any ambiguities. C needs the greedy rule because indeed in its absence the C language would be ambiguous. No such ambiguities exist in Ada, so there is no need for a disambiguating rule.