Book a Demo

Author Topic: Reverse Engineer for another language in EA  (Read 3381 times)

kdd23

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Reverse Engineer for another language in EA
« on: November 13, 2010, 01:01:02 am »
Hi,

is it possible to do a Reverse Engineer for a new programming language not defined in EA?

-I have defined and created a MDG Technology file for a new language.
 a Forward Engineer works very well so far, but i would like to configure EA so that i can synchronize a package with the source code for the new language. Is is possible?

Thank you for any help.
Christian

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Reverse Engineer for another language in EA
« Reply #1 on: November 13, 2010, 01:14:25 am »
Christian,

AFAIK you can only customise templates for forward engineering, not for reverse.

So you can either ask Sparx to implement templates for reverse engineering, and wait...
Or write your own parser to reverse engineer your language of choice.

Geert

kdd23

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Reverse Engineer for another language in EA
« Reply #2 on: November 17, 2010, 07:34:50 pm »
Geert,

Thank you for the response.
How can i write my own parser and integrate it into EA?

Thanks for your help.

à bientôt!
Christian

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Reverse Engineer for another language in EA
« Reply #3 on: November 17, 2010, 08:03:38 pm »
Christian,

You can write addins for EA.
Start here: http://www.sparxsystems.com/enterprise_architect_user_guide/8.0/automation_and_scripts/automation_interface.html
There are some examples distributed with the install, and you can find some examples on the community site.

Geert

kdd23

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Reverse Engineer for another language in EA
« Reply #4 on: November 17, 2010, 08:14:46 pm »
Hi ,

Thank you Geert.
I'll try it.