Subject: Adding characters as valid variable characters
From: Robert Dodier
Date: Fri, 25 Jul 2008 13:40:24 -0600
On Fri, Jul 25, 2008 at 12:22 PM, Nathaniel E. Powell
<nathan.powell at agilix.com> wrote:
> For example, I want to make it so that it is valid to begin maxima
> variable names with dollar signs. ($foo).
Well, declare("xyz", alphabetic) tells the parser to accept
characters x y and z as elements of a symbol.
However declare("$", alphabetic) doesn't seem to have the
desired effect, probably because the $ expression terminator
is hard wired into the parser.
I wonder why you want to have symbols begin with $.
It might be reasonable, but there might be another way to get
the effect you want.
Robert Dodier