Author Topic: New lenguage file extention  (Read 3311 times)

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
New lenguage file extention
« on: August 21, 2008, 04:42:21 pm »
How do I set the extention of a new lenguage in code generation template?
Recursion definition:
If you don’t understand the definition read "Recursion definition".

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: New lenguage file extention
« Reply #1 on: August 21, 2008, 11:07:13 pm »
I think I saw an answer by one of the Sparxians - quite a while ago - that said you cannot do this for new languages.

I could be wrong on this, or they might have changed it since. Still, I don't see anyplace where you could set this for new languages.


[edit]I am wrong on this; it has certainly been addressed by Sparx. Please see the solution below, as well as a note on where to find documentation.[/edit]

David

Which renders the following irrelevant.
PS: I wonder if you could 'fake' it by changing the properties of elements and containing packages. It would require an add-in or automation project of some kind, but it might work well enough.
« Last Edit: August 22, 2008, 09:03:20 pm by Midnight »
No, you can't have it!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8085
  • Karma: +118/-20
    • View Profile
Re: New lenguage file extention
« Reply #2 on: August 22, 2008, 08:32:50 am »
It's been possible for some time, and a search on this forum should have found that you can use an MDG technology. http://www.sparxsystems.com.au/EAUserGuide/addingcodemodulesinmdgtec.htm

However, new and nifty for build 832 is that languages specified by MDG technologies show up in the options dialog alongside the built in languages allowing you the user to customize EA's handling of them.

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: New lenguage file extention
« Reply #3 on: August 22, 2008, 09:22:56 am »
Look in the product installer version of the Help:

Code Engineering > Code Engineering Settings > Language Options > Options - MDG Technology Languages

This topic links to the topics for MDG Technologies and adding a code module to an MDG Technology.

Sorry, the web browser version of the Help hasn't caught up yet.
Best Regards, Roy

Martin Terreni

  • EA User
  • **
  • Posts: 672
  • Karma: +0/-0
  • Sorry, I can't write
    • View Profile
Re: New lenguage file extention
« Reply #4 on: August 25, 2008, 12:50:42 am »
Grate help, thanks.
Recursion definition:
If you don’t understand the definition read "Recursion definition".