... The semantic value should be in `last_<class_name>_value'. For example: STRING -> last_string_value FOO -> last_foo_value You said that TOKEN is generic....
Hi Today I've installed gobo-3.3 with smarteiffel-1.1 on a solaris server. To do so : - I expanded the archive - I built one by one each executable in every...
LEMAITRE Guillaume
guillaume.lemaitre33@...
Feb 4, 2004 6:07 pm
1067
... The access mode on the file does not matter when it comes to deleting it, it's the access mode of the containing directory that matters (because deleting a...
... The bootstrap process is only useful when getting the source code from CVS. If you installed from the package gobo33.tar.gz then you don't need to run the...
... ok, thanks for the information ... ok :) I thought I read it. It seems my english is not as good as I thought :) BTW, thank you eric for the support...
LEMAITRE Guillaume
guillaume.lemaitre33@...
Feb 5, 2004 3:17 am
1070
Dear gobo, The way DS_HASH_TABLE functions is confusing to me. If I call `put' and the key is equal (or =, depending on the key equality tester) the item will...
... Objects of type MY_OBJ are not hashed! See the type: class DS_HASH_TABLE [G, K -> HASHABLE] It is K that is hashable. A table is a dictionary that for each...
... I should have been more precise. I should have said "If I try to enter two objects of type MY_OBJ that map to the same key..." Let's start with the basic...
... This is _not_ what DS_HASH_TABLE is about! DS_HASH_TABLE is a simple dictionary that gives you an item associated with a key, which is hashable for quick...
In addition to Franck's answer, I'd like to add this: ... No, this is not the answer. If you want a set, you should use a descendant of DS_SET, not of...
... If it were possible to insert two differents objects with equal keys, what would `item' return? As Franck already pointed out, if you really want to insert...
... ************************************ This email and any files transmitted with it are proprietary and intended solely for the use of the individual or...
... But we are not specifying a hash table, however you'd precisely define it! DS_HASH_TABLE reads "DS_TABLE implemented using hashable keys", it is _NOT_ a ...
... It also fits the model often described in the literature. The data structure that you have in mind is something different and would need its own class and...
I've heard them referred to as dictionaries and associative arrays or associative tables. I personally blame Larry wall for dragging the implementation...
I'm a little unclear as to when an index is a byte index or a character index. For instance, the values passed to item and item_code - are these supposed to be...
Colin Paul Adams
colin@...
Feb 13, 2004 6:16 pm
1081
... When thinking about UC_STRING, as a client, you must forget about encoding. You don't know what UTF is. You don't know (or care) how strings are stored....
What do you guys think of this implementation of the Singleton design pattern? class SINGLETON creation make feature make is -- Create the singleton do ...
... I just remembered reading about the Singleton pattern in "Design Patterns and Contracts, Jean-Marc Jézéquel, Michel Train, and Christine Mingins". Here...
... As an example, maybe. As a library it's not good, because - If unrelated singletons A and B both inherit of SINGLETON, you can only create one of them in a...
... I think you are describing two different things. One is a Singleton, the other is a global object. They are similar concepts but have some differences. A...
Hi Brian, ... You may be interested in reading a paper by Eric Bezault and me: http://se.inf.ethz.ch/people/arnout/arnout_bezault_singleton.pdf explaining the...
Hi, All. Will someone from the Gobo development team please tell me what the supported expat version is for the newest rev of the Gobo XML library? Thanks in...
Hi Although I've managed to have Gelex and Geyacc cooperate, when I'm compiling with SmartEiffel, I can read that YY_PARSER_SKELETON is obsolete and that I...
LEMAITRE Guillaume
guillaume.lemaitre33@...
Feb 16, 2004 4:13 pm
1090
... I'm sorry, I didn't have time to update the documentation yet to take into account this new mechanism. It is only shortly explained in $GOBO/History.txt...
... Hash: SHA1 ... I suspect everything from 1.2 works, but it is tested with 1.9.6. Any 1.9.x should work, but I think only from 1.9.4 or so expat as stable ...
... Am I right when I say that, in order to have your parser compile, you have to use geyacc with the -t option if you inherit from the new parser skeleton,...
LEMAITRE Guillaume
guillaume.lemaitre33@...
Feb 16, 2004 6:25 pm
1093
... Yes, this is correct. The new mechanism produces faster and safer parsers taking advantage of the strong type system of Eiffel instead of using expensive...