Book a Demo

Author Topic: Grammars and Supported Reverse Engineering Languages  (Read 3014 times)

twister

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Grammars and Supported Reverse Engineering Languages
« on: July 26, 2018, 06:45:49 am »
This page:

http://www.sparxsystems.com/enterprise_architect_user_guide/14.0/model_domains/grammar_editor_for_imported_co.html

Says: "Enterprise Architect provides reverse engineering support for a number of popular programming languages. However, if the language you are using is not supported, you can write your own grammar for it, using the in-built Grammar Editor. You can then incorporate the grammar into an MDG technology to provide both reverse engineering and code synchronization support for your target language."

Is JavaScript one of those popular languages for which a Grammar is provided?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Grammars and Supported Reverse Engineering Languages
« Reply #1 on: July 26, 2018, 09:06:53 am »
No. Unfortunately, parsing existing javascript and creating a class model from it is problematic, even if the code is object oriented.