Post by Emmanuel Stapf [ES]Post by Yosifov PavelDoes it possible to translate Eiffel->C for microcontroller: without
OS (or something like FreeRTOS), code should be small, no main() - for
Eiffel libs ---------> C \
my Eiffel code --> C } -- C compiller --> HEX-file
my C code -------> /
What Eiffel compiller is good for this?
Manu,
Post by Emmanuel Stapf [ES]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."
Post by Emmanuel Stapf [ES]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).