Re: Pretty Printer for Pascal (Paco Moreno Seco)
Mon, 13 Nov 1995 08:42:54 GMT

          From comp.compilers

Related articles
Pretty printing Pascal? (1995-11-06)
Re: Pretty Printer for Pascal (1995-11-13)
| List of all articles for this month |

Newsgroups: comp.compilers
From: (Paco Moreno Seco)
Keywords: yacc, Pascal
Organization: Compilers Central
References: 95-11-063
Date: Mon, 13 Nov 1995 08:42:54 GMT

  Zhanna Grushevskaya <> wrote:

> Can anyone please give me any ideas on writing a Pretty Printer
> for Pascal using YACC and LEX?

  A few years ago I wrote something like a pretty printer for TurboPascal
(version 4.0 or so, with 'unit', global variable declarations after
procedures and functions, ...) for a version of yacc and lex which
generated TurboPascal code. If you (or anyone else) are interested in
having a copy of this rare pretty printer (you'll have to do some
editing) please e-mail me and I'll make it available via anonymous ftp
or I'll send it back to you by e-mail.

  F. Moreno-Seco (

Post a followup to this message

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