Book a Demo

Author Topic: Python reverse (again)  (Read 5168 times)

abierbaum

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Python reverse (again)
« on: May 07, 2008, 05:13:00 am »
I was evaluating EA quite a while back and posted a question about python reverse engineering.  

http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1170780589/0#0

The summary is that I wanted to be able to reverse engineer attributes and was proposing that they could be stored in the class comment in javadoc style.  It looks like this is not going to work out.

So, the question still remains though, how do people handle reverse engineering attributes with Python?  Is the only way to do this to put the attributes as class attributes instead of object attributes?  I am willing to extend, refine, refactor generator scripts or anything else, I just want to find a way to make this work that will be compatible with our coding standards (ie. no class attributes)

Any ideas?

Thanks,
Allen

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Python reverse (again)
« Reply #1 on: May 07, 2008, 08:10:05 am »
My post to that thread is still accurate.  The reverse engineering cannot be modified to handle python object attributes.

abierbaum

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Python reverse (again)
« Reply #2 on: May 15, 2008, 01:31:17 am »
Is it possible for users to create custom code generators and reverse generators?  Or more specifically, if we really wanted to support Python for our specific needs, is it possible for us to extend EA to meet this need?

-Allen

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Python reverse (again)
« Reply #3 on: May 15, 2008, 11:07:11 am »
A custom generator (without synchronization) is no problem.  You can generate anything you like from the code templates.

Reverse engineering is currently not open to user modification.

Frank Horn

  • EA User
  • **
  • Posts: 535
  • Karma: +1/-0
    • View Profile
Re: Python reverse (again)
« Reply #4 on: May 15, 2008, 04:05:59 pm »
Quote
Reverse engineering is currently not open to user modification.

But of course you can write an AddIn which parses code and creates or synchronizes classes.