toolEiffel Syntax Updater

This tool is a part of the EiffelStudio package

Description

The Eiffel Syntax Updater let you migrate Eiffel classes to the new ECMA syntax. It does the following conversion:

  • !! to create
  • creation to create
  • indexing to note
  • !X to attached X
  • ?X to detachable X
  • removal of is
  • replacement of "feature {X}.constant" to "{X}.constant"
  • replacement of "{x: T} exp" to "attached {T} exp as x"

Comments

disappointment

I'm disappointed! I thought it was a program which was going to automatically update the ECMA standard PDF file and remove all the silly new syntactic aspartame that has found its way in there recently.

Where is it?

peter_gummer's picture

I've searched high and low but the only thing I can find is the source code at https://svn.eiffel.com/eiffelstudio/trunk/Src/tools/syntax_updater . After mucking around with environment variables and building the parser_v63 directory by hand, I managed to build and run it, and it works really well. I'm now building my projects in "standard" syntax. Yay!

But I think this tool needs to be available somewhere in binary format.

It is available in the

manus_eiffel's picture

It is available in the EiffelStudio delivery under $ISE_EIFFEL/tools/spec/$ISE_PLATFORM/bin.

Not in 6.4.78765

peter_gummer's picture

That's the first place I looked, Manu, but it's not there, or at least not in the latest Windows delivery.

Actually it is there

peter_gummer's picture

Oops, I didn't read Manu's reply carefully enough. I looked in studio\spec\windows\bin. As Manu said, it is in tools\spec\windows\bin. I didn't look there!

Were you using the MSI

manus_eiffel's picture

Were you using the MSI installer? If so, I guess we forgot to add the directory to the MSI. It is certainly present in the 7z file. I'll make sure it is included in the next revision.

I used the MSI installer

peter_gummer's picture

Yes, Manu, I used the MSI installer. It's a very good utility.

How about adding a Windows Start menu shortcut to it too? This would help advertise its existence to Windows users. The Start menu was actually the first place I looked for it, before I looked in the bin directory.

Syndicate content