Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!harvard!seismo!mcvax!ukc!icdoc!qmc-cs!liam From: liam@cs.qmc.ac.uk (William Roberts) Newsgroups: net.lang,net.text Subject: Pretty Printing stack based languages? Message-ID: <147@cs.qmc.ac.uk> Date: Tue, 20-May-86 07:45:59 EDT Article-I.D.: cs.147 Posted: Tue May 20 07:45:59 1986 Date-Received: Sat, 24-May-86 03:55:12 EDT Reply-To: liam@qmc-cs.UUCP (William Roberts) Organization: CS Dept, Queen Mary College, University of London, UK. Lines: 15 Keywords: pretty printing, PostScript, FORTH Xref: linus net.lang:2183 net.text:995 Does anyone have any ideas/references/programs(!) for pretty printing stack based languages like FORTH or PostScript? The problem is making clear the production of objects on the stack and their subsequent consumption: do you indent to show points at which the stack becomes completely empty, reverts to the same depth as before, ??? PostScript is the language I am particularly interested in, but any replies would be welcome. -- William Roberts ARPA: liam@UK.AC.qmc.cs Queen Mary College UUCP: liam@qmc-cs.UUCP LONDON, UK