I'm trying to use CECIL on an embedded platform so I modified my VC project file so that it knows the right include paths and lib paths. One of those paths is...
Hi! I've finished my first more or less serious Eiffel program. I'm affraid that it is C++/D program just rewritten in Eiffel. But there isn't any experienced...
At Wed, 01 Aug 2007 22:45:31 +0400, ... This is gonna be a short answer, as I did not go over the whole program, but some first impressions: The code and...
Thanks, Bernd. On Thu, 02 Aug 2007 00:43:02 +0400, Bernd Schoeller ... I've seen 'a_' and 'l_' prefixes in Eiffel samples and libraries. For me it is more...
Yauheni, I've not fully reviewed you code yet but I did notice you implemented your own argument option parser. If you need to use it then there's a powerful...
... If your embedded system has nothing to do with windows, then you cannot use the standard windows EiffelStudio delivery to compile for this platform. ...
We have a typical tree data structure of the form TWO_WAY_TREE [ITEM] where ITEM has two subtypes, call them FOLDER_ITEM and OBJECT_ITEM I have a routine that...
Is there a reason you're losing the type information in the first place? I try to only do permanent type narrowing is if that information doesn't matter...
... There is such a library in Gobo. It's not hidden and it even has some doc: http://www.gobosoft.com/eiffel/gobo/argument/index.html -- Eric Bezault ...
... What about using the visitor pattern: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deferred class ITEM_VISITOR feature -- Actions visit_folder (an_item: FOLDER_ITEM) is ...
... not sure what you mean by that... ... maybe we are at cross purposes; the data structure has two node types - 'folder39; and a 'leaf object', each of a...
Hi, Paul Thanks for your references. Almost all newcomers tend to reinvent the wheel just because they don't know which libraries the language already has. It...
At Thu, 02 Aug 2007 01:01:40 +0400, ... Other have already answered, but I just want to make it clear: no it is not Eiffel-ish. Parse still returns a value and...
... How is 'parse39; a command in the above code, Bernd? Sure, the name 'parse39;, being a verb, suggests that it is a command; but ignoring the poor name all I...
11045
Colin Adams
colinpauladams@...
Aug 2, 2007 9:39 am
... Eiffel does NOT enforce the separation. Which is a pity, as if it did a compiler would be able to do more optimizations. ...
On Thu, 02 Aug 2007 13:39:16 +0400, Colin Adams ... Do you mean something like 'const39;-modificator in C++ (and const/invariant modificators in D2.0)? E.g....
Yes, that's not bad actually; more code, but it is an elegant approach. The trick here is that all visitor instances have a routine for each kind of node they...
At Thu, 02 Aug 2007 13:28:37 +0400, ... Ah, ok, I was mislead by the naming. Only commands should be named by verbs. Queries are named by nouns or adjectives....
... We have a few libraries in the pipeline that are not yet included in EiffelStudio. We do not yet include them because we don't feel that are mature yet,...
The platform I use is based on an Intel processor and I am capable of running C codes compiled with MS C compiler if I compile into a dll and mechanically...
... Compared to a normal assignment you can distinguish two cases: - object type is exactly the same as the target type: 2 comparisons, 1 call. - object type...
Neat! Thanks Manu, I'll try it out as soon as I can. Would it be possible to select this custom run-time when compiling under EiffelStudio? I guess I could...
... For the moment, I suggested you modify the windows-msc-x86 file, but ideally it should be another file. In 6.1, the name of the file on Windows will follow...