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=-0.8 required=5.0 tests=BAYES_00,INVALID_DATE autolearn=no autolearn_force=no version=3.4.4 Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!bloom-beacon!oberon!cit-vax!ucla-cs!zen!ucbvax!SEI.CMU.EDU!Robert.Firth From: Robert.Firth@SEI.CMU.EDU Newsgroups: comp.lang.ada Subject: Ada Lex/Yacc Message-ID: <8709282011.AA10215@bd.sei.cmu.edu> Date: Mon, 28-Sep-87 16:11:06 EDT Article-I.D.: bd.8709282011.AA10215 Posted: Mon Sep 28 16:11:06 1987 Date-Received: Wed, 30-Sep-87 05:47:20 EDT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet List-Id: I'm not an expert on these tools, so maybe this is a silly message, but the recently posted Ada Yacc/lex stuff leaves me puzzled. Just a couple of points (a) I don't see how it handles the substitute characters (b) It seems to allow adjacent underscores in numbers and identifiers, and even leading underscores in identifiers (c) I can't see how it distinguishes attributes from character literals - consider for instance "F()'FIRST", or worse, "F()'X'FIRST", where 'X is an implementation-defined attribute Can anyone help? Robert Firth