Re: Differences between SmartEiffel and ECMA

Howard Thomson <[email protected]> Mon, 24 Oct 2011 17:32:58 +0100
Newsgroups gmane.comp.lang.eiffel.smalleiffel
Message-ID <1319473978.12113.254.camel@xen>
Hi Piotr,

I don't recall that there is anywhere specific for this, unfortunately.

I am an ex-user of SmartEiffel, and as it hasn't changed much, if at
all, since I stopped using it, I should be able to highlight the
substantive differences ...

The two most prominent differences are in letter case acceptability for
identifiers, and non-conforming inheritance, with other substantial
differences in the kernel and other core libraries.

SmartEiffel does not follow the case-insensitiveness of ECMA and all
non-SmartEiffel implementations of Eiffel, rejecting as invalid
identifiers that do not follow the recommended selection of
all_lower_case for routines and variables, Initial_upper_case for
constants [and possible once routines] and ALL_UPPER_CASE for class
names.

As a substantial corpus of code that I have worked on originated from C
and C++ source and does not follow these constraints, I ended up
spending more time re-adapting SmartEiffel to be smart enough to be able
to continue compiling my Eiffel conformant code than getting useful work
done ...


For non-conforming inheritance, SmartEiffel introduced the keyword
'insert' following 'inherit' to denote that the functionality of the
inserted classes be available to the current class, but that the current
class be not conformable with [assignable to] variables of the inserted
class.

ECMA specifies the 'inherit {NONE} ...' syntax for the above.


There are substantial differences in the libraries as well, together
with differences in kernel expanded classes such as INTEGER_8/16/32/64,
REAL_32/64 vs FLOAT/DOUBLE.


I have since moved to using the Gobo libraries and my own variant of the
'gec' compiler as my primary toolset, which does maintain source code
[although not configuration file] compatibility with EiffelStudio.

Good luck with your research,

Regards,

Howard






-----Original Message-----
From: [email protected]
To: [email protected]
Subject: Differences between SmartEiffel and ECMA
Date: Mon, 24 Oct 2011 13:16:50 +0200 (CEST)

Hello,
Can somebody point me to a resource where I can find the language differences
between SmartEiffel and the ECMA standard ?

Piotr

-- 
Howard Thomson <[email protected]>