Book a Demo

Author Topic: New Typescript code module for Reverse Engineering  (Read 8328 times)

DP0D7NI

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
New Typescript code module for Reverse Engineering
« on: March 16, 2016, 01:33:53 am »
Hello everyone,

I am pretty new when it comes to EA extensions, so please forgive if I ask a stupid question.
Basically, I want to create UML entities (namely classes and it's attributes, methods and relationships) from Typescript source folder. In my imagination this would work exactly as I do with C#: I right-click on a folder, select 'Code Engineering' -> 'Import Source Directory' and select 'Typescript' as language which is currently not in the list of available languages.

My questions are:
  • Is it possible to extend EA to add a new language to that list?
  • Does anyone know of a project that tries to do exactly that?
  • Is there somewhere a documentation how to do that?

I know that I have to provide the Typescript grammar to EA. But I can't figure out the correct way of integration into the reverse engineering process (I hope I do not have to create the UML object myself).

Thanks for every comment!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: New Typescript code module for Reverse Engineering
« Reply #1 on: March 16, 2016, 01:47:13 am »
Hi

I haven't done this myself, but I think the place to start is here
http://www.sparxsystems.com/enterprise_architect_user_guide/12.1/software_engineering/grammar_editor_for_imported_co.html

Make sure you read everything in great detail. Sometimes important clues are somewhat hidden in plain sight.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: New Typescript code module for Reverse Engineering
« Reply #2 on: March 16, 2016, 03:57:14 am »
There has been a recent request for TypeScript. Try the Search menu (2nd from Home above). It yields 3 posts (inclusive yours).

q.
« Last Edit: March 16, 2016, 03:59:08 am by qwerty »