Work on the vect package



On 5/9/10, Richard Fateman <fateman at cs.berkeley.edu> wrote:

> I think that the change you suggest might be tricky.  If you define @ as
> a prefix operator, you want @X  to work.  You do not want to require
> a space as in @X.   Maybe you would make the subtle distinction that
> some operators are single letters and need no following space??

The parser already distinguishes alphabetic and non-alphabetic
characters, so @X (no space) parses the same as @ X (with a space).

> Then defining D as a prefix operator would allow Dx.
> But it would also disallow  DoSomething unless you mean D(oSomething).

I dunno. Dx is ambiguous, right? Aside from perhaps meaning D x,
it is a valid symbol. I don't think we can guess the right meaning,
so let's allow only one meaning.

Robert Dodier