AST must for xlator?

"Russ Ramsey" <rramsey500NOSPAM@earthlink.net>
12 May 2002 00:06:35 -0400

          From comp.compilers

Related articles
AST must for xlator? rramsey500NOSPAM@earthlink.net (Russ Ramsey) (2002-05-12)
Re: AST must for xlator? rkrayhawk@aol.com (2002-05-17)
Re: AST must for xlator? jamesp_spam_me_not@silver-future.com (James Powell) (2002-05-31)
| List of all articles for this month |

From: "Russ Ramsey" <rramsey500NOSPAM@earthlink.net>
Newsgroups: comp.compilers
Date: 12 May 2002 00:06:35 -0400
Organization: EarthLink Inc. -- http://www.EarthLink.net
Keywords: question, translator
Posted-Date: 12 May 2002 00:06:35 EDT

    I wrote Lex & Yacc code to parse SAS; now how do I output the
symbols into COBOL?


    Assuming each statement of one equals only one statement of the
other. On the grammar rules actions can I just save to tree the
equivalent tokens and then print them out infix? Any examples out
there of the simplest data structure for this purpose?



Post a followup to this message

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