Am 22.03.2012 00:23, schrieb Massimo Manghi: > I've been thinking recently to add some introspection in Rivet coding a > ::rivet::info command similar to PHP's phpinfo(). A natural way to use this > command could be reading values of configuration parameters and other stuff. > > For example ::rivet::info should return the value of configuration parameters > that now are stored in 3 undocumented arrays RivetServerConf, RivetDirConf > and > RivetUserConf. > > My idea is to store internally the configuration parameters in a > dictionary and let ::rivet::info be an interface to this dictionary
That sounds good ! I like dictionaries. I would also like to modify the whole rivet standard library to use dicts where arrays are used today. But first, security must be raised... About entities: I have no opinion on the name. As the main task is encoding, I would prefer to have a short name for encoding but a longer one for decoding: ::rivet::entities ::rivet::entities_to_utf8 Enjoy, Harald --------------------------------------------------------------------- To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org For additional commands, e-mail: rivet-dev-h...@tcl.apache.org