MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Cell execution dependence


Would this then be correct (in BNF)

<whitespace-char> ::= <active-whitespace-char> |
                     <inactive-whitespace-char>

<active-whitespace-char> ::=    (blank | tab | linefeed )
                              &  activity-flag:ON
<inactive-whitespace-char> ::=  (blank | tab | linefeed )
                              &  activity-flag:OFF

If this is OK, the main interpreter burden for this
classification is to determine activity. Ideally this
should depend only on examining previous chars,
already digested by the parser.  But since
Mathematica allows implicit multiplication, a
postscan  might be required.

Eg     sin (a+b)  means sin*(a+b)  (active blank)
but    Sin [a+b]  means Sin[a+b]   (inactive blank)


  • Prev by Date: Re: Re: Mathematica 1
  • Next by Date: Re: Re: Mathematica 1
  • Previous by thread: Re: Cell execution dependence
  • Next by thread: No Biconditional?