nacer@hpmcaa.mcm.hp.com (Abdenacer Moussaoui) (09/22/89)
Can any one provide source code (or references) to an awk program that pretty-prints Pascal and/or C? I am not interested in just bold-facing keywords (type of thing) but rather parsing tokens and reformatting from scracth. Any starter code or help is greatly appreciated. --Abdenacer (nacer@hpmcaa.mcm.hp.com)
djones@megatest.UUCP (Dave Jones) (09/23/89)
From article <510004@hpmcaa.mcm.hp.com>, by nacer@hpmcaa.mcm.hp.com (Abdenacer Moussaoui): > > Can any one provide source code (or references) to an awk program > that pretty-prints Pascal and/or C? > I hope not. Better to ask about source code in lex,yacc, and C. I sure wouldn't want to try to maintain one written in awk. Wrong tool.