Subject: Re: "Choose the Right Language" in "Tutorial" by Norvig and Pitman From: Erik Naggum <erik@naggum.net> Date: Thu, 18 Apr 2002 14:02:56 GMT Newsgroups: comp.lang.lisp Message-ID: <3228127375862320@naggum.net> * Marc Battyani | What internal representation do you use with this? Whatever the application needs. This is much easier to parse into the braindamaged excuses for internal representation that XML needs than XML. If the application is sufficiently ill-designed, I stuff a filter between the sensible syntax and the application which produces the XML it likes. As for processing with Common Lisp, I simply uses trees built from cons cells, but contained in an XML object that causes a different printer to be used than the regular Common Lisp printer, and which may convert the internal form to something more suitable when needed. I try to avoid the _immensely_ braindamaged DOM crap. * Erik Naggum > I just wait to see a Word-in-XML document that takes a minute to ship > over megabit-lines and which says "Hello, world!". * Marc Battyani | FYI an "hello world!" in HTML from Word is 1798 bytes... I hope someone else got the point that "Hello, world!" programs are used to compare programming languages for size, including their binaries, and that it is sort of the smallest idiotic program anyone writes in order to acquire completely useless metrics. In other words: a joke. /// -- In a fight against something, the fight has value, victory has none. In a fight for something, the fight is a loss, victory merely relief. Post with compassion: http://home.chello.no/~xyzzy/kitten.jpg