Re: Pretty printing Pascal?

nr@cs.purdue.edu (Norman Ramsey)
Fri, 10 Nov 1995 23:04:32 GMT

          From comp.compilers

Related articles
Pretty printing Pascal? zgrushev@ernie.eecs.uic.edu (1995-11-06)
Re: Pretty printing Pascal? nr@cs.purdue.edu (1995-11-10)
Re: Pretty printing Pascal? bissetj@sparky.oit.osshe.edu (1995-11-15)
| List of all articles for this month |
Newsgroups: comp.compilers
From: nr@cs.purdue.edu (Norman Ramsey)
Keywords: yacc, Pascal
Organization: Purdue University Computer Science Department
References: 95-11-063
Date: Fri, 10 Nov 1995 23:04:32 GMT

Zhanna Grushevskaya <zgrushev@ernie.eecs.uic.edu> wrote:
> Can anyone please give me any ideas on writing a Pretty Printer
> for Pascal using YACC and LEX?


Read these:


@article{ramsey:building,
    author="Norman Ramsey",
    title="{L}iterate Programming: {W}eaving a Language-Independent {{\tt WEB}}",
    journal=cacm,
    month=sep,
    volume=32,
    number=9,
    pages="1051--1055",
    year="1989"}


@article{oppen:prettyprinting,
    month=oct,
    pages="465--483",
    number="4",
    author="Derek C. Oppen",
    title="Prettyprinting",
    journal=toplas,
    year="1980",
    volume="2"}




My paper covers ``prettyprinting grammars;'' Oppen's describes a
back-end interface useful for prettyprinting.
--
Norman Ramsey
http://www.cs.purdue.edu/homes/nr
--


Post a followup to this message

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