*To*: sage-bugs@rainier.extreme.indiana.edu*Subject*: Whitespace in source code*Date*: Tue, 25 Jul 1995 12:02:38 +0100*From*: "Peter Booth." <p.booth@ic.ac.uk>*Sender*: owner-sage-bugs@extreme.indiana.edu

I posted the following question about two months ago and didn't get a reply. Does anyone know whether I can do this with SAge++ ? ------------------- Attachment follows ------------------ To: sage-bugs@rainier.extreme.indiana.edu Subject: How to do this? Date: Tue, 30 May 1995 15:49:59 +0100 From: "Peter Booth." <p.booth@ic.ac.uk> Sender: owner-sage-bugs@extreme.indiana.edu I hope to use Sage++ to make cosmetic reformats to Fortran source code. I can see see how the class structure gives me the parse tree information I need to distinguish names which represent PARAMETERS and, say local variables. I don't know whether I can use the unparser when I access and modify the whitespace surrounding symbols and operators, the casing of identifiers, or if I am restricted to building a list of textual substitutions from the parsed file, and then applying them to the source code myself. Any suggestions? I have read through the documentation but cannot see how to access information about whitespacing of statements, indents, etc. Peter ------ Peter Booth Email: P.Booth@ic.ac.uk Imperial College Centre for Environmental Technology 48 Prince's Gardens, London SW7 2PE

**Re: Whitespace in source code***From*: cychen@hal.com (Chih-Yi (Wesley) Chen)**Re: Whitespace in source code***From*: Andrew Mauer <mauer@mcs.anl.gov>

- Prev:
**Re: Whitespace in source code** - Next:
**Re: Reference for sage++** - Index:
**Sage-bugs 1995 Mail Archive**