|
From: avl <av...@lo...> - 2017-02-14 18:44:33
|
"Dipl. Ing. Sergey G. Brester" <se...@us...> wrote:
> > When compiling an expression like {sin(0)=42}, then at the time the "=" is
> > seen, the bytecode for calling [tcl::mathfunc::sin 0] is already produced.
> Yep, because currently it does not do look ahead,
Such a "look ahead" just isn't ever going to happen, because it
cannot be done correctly.
> I've currently no time to try it, but possibly soon...
Then I'd suggest you to cut down your posting efforts a little to leave
some time for your private experiments...
And make sure your experiments also can deal correctly with the token
stream for {pow(("base"=2),"exp"=42)} and not end up accidentally turning
pow(...) into an assignment target.
|