[Prev][Next][Index]
Re: Whitespace in source code
- To: "Peter Booth." <p.booth@ic.ac.uk>
- Cc: sage-bugs@cica.indiana.edu
- Subject: Re: Whitespace in source code
- In-Reply-To: Your message of "Tue, 25 Jul 1995 12:02:38 BST."
<11032.9507251102@pasquill.et.ic.ac.uk>
- Date: Tue, 25 Jul 1995 09:07:33 -0500
- From: Andrew Mauer <mauer@mcs.anl.gov>
- Sender: owner-sage-bugs@extreme.indiana.edu
> 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?
Whitespacing in the output code is controlled by the unparser *only*.
Your only chance would be to hack unparse.c directly. There is no
user-level interface. Modifying the case of identifiers is a different
matter; to do that you would edit each symbol's name, which can be
done from the Sage++ interface.
/Andrew/
Reference(s):