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.6 required=5.0 tests=BAYES_40,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,59ea45c31346f2c4 X-Google-Attributes: gid103376,public From: Steven Hovater Subject: Re: Ada type (yacc)YYSTYPE is ? Date: 1999/01/17 Message-ID: <36A21C72.8E7FBCE8@mediaone.net>#1/1 X-Deja-AN: 433685101 Content-Transfer-Encoding: 7bit References: <77qu4d$jt8@lotho.delphi.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: lwnws01.ne.mediaone.net 916593207 24.128.19.33 (Sun, 17 Jan 1999 12:13:27 EDT) Organization: Northeast Region--MediaOne MIME-Version: 1.0 NNTP-Posting-Date: Sun, 17 Jan 1999 12:13:27 EDT Newsgroups: comp.lang.ada Date: 1999-01-17T00:00:00+00:00 List-Id: Hi Tom Do a web search for ayacc - there's an Ada version of yacc (and lex, too, I think). It's likely you'll find something useful therein. Cheers, Steve tmoran@bix.com wrote: > YACC is designed with a C 'union' type as a typeless, semantic > token information holder variable. What's a good way in Ada to > handle that, hopefully with some help from Ada type checking? > One obvious one is a variant record. Any better ideas? -- Steven Hovater svh@rational.com Software Engineering Consultant Phone/fax:781-676-2565/2500 Rational Software Pager: 888-906-2209 83 Hartwell Ave, Lexington, MA Amateur radio: AA1YH