Hello Eric, What's the point of make_default in this class? I've a class I want to make a container, but because of its invariants, make_default without ...
Hai Eric, In DS_TRAVERSABLE I found this comment: -- Some Eiffel compilers check invariants even when the -- execution of the creation procedure is not...
... Just curious: what sort of invariant that is? The only thing I can think of is a container that cannot be empty (that could make sense). -- ...
Franck Arnaud
franck@...
Aug 2, 2002 8:16 pm
408
... I think that this is still true. If I remember correctly, at the time I wrote this comment, only the TowerEiffel compiler would not check invariants when...
... I don't personally use this feature, but it was requested by Franck as a creation routine with no arguments for the container classes. I had no problem...
... It has a pointer (handle) to a class that implements the functionality. The actual handle changes depending on the configured environment. It is a...
... Of course, as it is a creation feature, it's not necessary that it is in the ancestor, where it's mostly useful for documentation purposes. It's OK to...
Franck Arnaud
franck@...
Aug 3, 2002 10:56 pm
412
... It looks like your container-less cursor is what I suggested in: http://www.geocrawler.com/archives/3/12674/2002/5/50/8686032/ with the class DS_ITERATOR...
... Yes, I like this. I don't need it know, but it is very useful to be able to write cursors for everything. Now we can write iterators for STRING and ARRAY...
... My idea. You have to effect it and not list it. When nobody needs it, make it obsolete. One less thing to do. ... require else... -- Live long and prosper,...
Hello, I have an XML file with some non-ASCII characters ("human-readable" descriptions -- letters with accents). I'm using XML GOBO classes with an...
Philippe Macaire
macaire@...
Aug 12, 2002 7:30 am
416
... Only with the iso-8859-1 character set, which, unfortunately, is not supported by Gobo yet. Try the utf-8 character set (the default), so save your file as...
... You need to set the parser mode (a_parser.set_string_mode_mixed for example). It defaults to ASCII-only to be safe of STRING polymorphism. I'm sorry ...
Franck Arnaud
franck@...
Aug 12, 2002 12:06 pm
418
Franck, Berend, thanks for your answers. It looks like I need to delve into Unicode a little bit, or find another solution. With mixed mode and ß like...
Philippe Macaire
macaire@...
Aug 12, 2002 5:04 pm
419
Hello there, We have a project listed on www.ecknowledge.com called "FlatGlassPro: on-site estimating and management tool". Please note it's a freelance ...
ecknowledge2002
ecknowledge2002@...
Aug 13, 2002 6:19 am
420
Hello Eric, This does not seem to work, intentional? DIGIT [0-9] %% [^{DIGIT] { do something } I.e. using a name definition in a negated character class. -- ...
... Assuming it works intuitively, that would expand to [^[0-9]] rather than what you want: [^0-9]...
Franck Arnaud
franck@...
Aug 27, 2002 10:09 am
422
... Intuitively, I assume it is already 'expanded', so it's not just macro replacement :-) But perhaps that's exactly what it does, can you shed any light on ...
... But that makes a name definition less useful, doesn't it? Often you have this: {DIGIT} -- action [^{DIGIT} -- something else I think the usefulness of...
... {DIGIT} is a regular expression. Character classes are not made up of regular expressions. They are made up of characters and character ranges. In your...
... Yes of course, I just wanted to give a simple example. A more difficult one is: [^{DIGIT}{SPACE}{ALPHA}] -- action Your example has limited scalability...
Hi, i need to store a number of peoples names and scores, and then be able to display them. How can i use an array to store these values if all information has...
Has anybody succedded bootstraping the latest GOBO from CVS with SmartEiffel ? I was able to compile my programs with SmartEiffel, but as soon as I tried to ...
Hi, I am running teh CVS version of GOBO (updated last night). My xace file has this: <option if="${DEBUG}"> <option name="assertion" value="all"/> <option...
... The above code is correct. If you look at the generated Ace file you should see that all debug instructions have been generated by 'gexace'. Therefore I...
... True. ... Ok. I just emailed the SE list, let's see what happens. Maybe it is fixed with SmartEiffel, but because I could not boostrap GOBO with ...
Hello Eric, What exactly does DS_HASH_TABLE.make do with the given number of items? Is that the capacity or more an indication of the number of items you...
... It's the capacity as defined here: make (n: INTEGER) is -- Create an empty table and allocate -- memory space for at least `n' items. -- Use `=' as...
... Ah, yes, overlooked that. ... All automatic, I love that :-) So if I give just the max number of items, DS_HASH_TABLE will operate optimal (as good as...