Book a Demo

Author Topic: Does EA use system interpreter (e.g. python)?  (Read 3419 times)

DaveToo

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Does EA use system interpreter (e.g. python)?
« on: January 04, 2011, 07:14:29 am »
For reverse-engineering dynamic languages (in particular, Python), does EA use an interpreter?  If so, can I control which instance it uses?

I'm working with a very large application which creates it's own self-contained python environment (and Zope instance) and dynamically modifies it's module search path at runtime to find plugins and such.  I need to figure out how to have EA find the dependencies.

mrf

  • EA User
  • **
  • Posts: 311
  • Karma: +0/-0
    • View Profile
Re: Does EA use system interpreter (e.g. python)?
« Reply #1 on: January 04, 2011, 09:05:24 am »
As far as I know we use a grammar approach to parse the code, not an interpreter.
Best Regards,

Michael

[email protected]
"It is more complicated than you think." - RFC 1925, Section 2.8

DaveToo

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Does EA use system interpreter (e.g. python)?
« Reply #2 on: January 09, 2011, 04:59:27 pm »
OK, that would seem to imply that the only way to resolve dependencies is to have also imported the required libraries?

Thanks.

DaveToo

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Does EA use system interpreter (e.g. python)?
« Reply #3 on: January 10, 2011, 10:35:19 am »
For what it's worth, I've filed a bug report about a flaw in the parser.  When EA encounters a python Long Integer literal, the parsing aborts.