Eiffel libs ---------> C \
my Eiffel code --> C } -- C compiller --> HEX-file
my C code -------> /
What Eiffel compiller is good for this?
/Poul
SmartEiffel may be good for embedding, but its runtime needs functions
from OS, and there is no further development now.
Cheng-Chang Wu
Eiffel is not just a language, it includes also memory management,
design by contract, exceptions, file manipulations and various other
things. If you do not need all of those, then there is not much benefit
in using Eiffel in the first place. Still, if you really need to write
Eiffel code for your micro controller, you can tune the Eiffel Software
runtime and remove from the core libraries whatever you do not need, and
you will have to provide routines for performing the memory management.
Regards,
Manu
> Eiffel is not just a language, it includes also memory management,
> design by contract, exceptions, file manipulations and various other
> things. If you do not need all of those, then there is not much benefit
> in using Eiffel in the first place.
This reply surprises me. One of the citations on ISE Eiffel site is
"Eiffel is the perfect embedded language..."ą; also in the
http://www.eiffel.com/products/studio/ you'll find: "Because of
EiffelStudio's simplicity, it is ideal for the embedded developer.
Industrial machines, automobiles, medical equipment, cameras, household
appliances, airplanes, vending machines, as well as the more obvious
cellular phone and PDA, are among the myriad of possible hosts for an
Eiffel embedded system."
> Still, if you really need to write
> Eiffel code for your micro controller, you can tune the Eiffel Software
> runtime and remove from the core libraries whatever you do not need, and
> you will have to provide routines for performing the memory management.
>
I would expect a version of EiffelStudio existed or at least be already
engineered so eliding the need of the "you" part in above paragraph.
--
Cesar Rabak
[1] In /Eiffel for embedded systems at Hewlett-Packard/ interview of
Christopher Creel, HP CCD (Color laserjet and Consumables Division).
> 2) Looks like "Gobo" is abandoned like SmartEiffel, isn't it
It is stilled maintained by its authors.
> 3) "Gobo" translate to .C files like SmartEiffel?
Yes.
The OP was talking about a micro controller which are for me a very low
level embedded system with barely any rom or ram. Our default Embedded
support is for system with at least 128KB of rom and 256KB of RAM and
this includes a complete Eiffel implementation. If your requirements are
less than that, you need to start removing features from the language
and this is where you start loosing some of the benefits of Eiffel.
> I would expect a version of EiffelStudio existed or at least be already
> engineered so eliding the need of the "you" part in above paragraph.
Eiffel Software provides it for you on demand, but if you are using the
Open Source version you are on your own.
Regards,
Manu
I see.
> If your requirements are less than that, you need to start removing features
> from the language and this is where you start loosing some of the
> benefits of Eiffel.
OK.
>
>> I would expect a version of EiffelStudio existed or at least be already
>> engineered so eliding the need of the "you" part in above paragraph.
>
> Eiffel Software provides it for you on demand, but if you are using the
> Open Source version you are on your own.
Thanks,
--
Cesar Rabak