[Ironpython-users] Modifying ASTs when embedding IronPython

Tuomas Utrecht tuomas.utrecht at gmail.com
Sat Mar 3 19:45:15 CET 2012


Le 2 mars 2012 11:26, Jeff Hardy <jdhardy at gmail.com> a écrit :

> On Fri, Mar 2, 2012 at 5:31 AM, Tuomas Utrecht <tuomas.utrecht at gmail.com>
> wrote:
> > I have body of possible Excel formulas which are identical to Python
> syntax,
> > except for the use of ^.
>
> If that's the case, why not rewrite them as strings instead (i.e.
> s/^/**/g), and then pass them to IronPython?
>

Yes, I am doing something similar now, different only in that it accounts
for strings with the value. I was hoping for something a little more robust.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20120303/9596c557/attachment.html>


More information about the Ironpython-users mailing list