James Edward Gray II wrote: > On Nov 29, 2005, at 1:12 AM, Leslie Viljoen wrote: > >> The real challenge will be the parser - in fact, that might be a >> good quiz too. > > > I've been considering this for a quiz. I'm currently in the process > of solving it myself, to prove it's not too much work. My free time > is scarce currently though, so if you beat me to a solution mail it > to me, along with a count of how many hours it took to build... > > James Edward Gray II > For a quiz, perhaps you could provide a selection of say 10 or so sentences that a parser would need to "understand" and convert to a range of method calls such as get(obj), light(dobj, iobj), feed(dobj, iobj) etc. TO would need to be understood to get the direct-object/indirect-object right: feed bird to lion vs. feed bird lion. I'll start on such a solution and let you know how it goes... Les