BabbleMUD: Natural language parser

Posted by David Haley on Wed 15 Mar 2006 12:07 AM — 2 posts, 13,293 views.

USA #0
Here's the natural language parser I wrote for BabbleMUD.

http://www.binarygoblins.org/cgi-bin/cgi/clip/clip.lua

More (but still brief) explanation here:
http://blogs.the-haleys.org/david.php?itemid=108


Basically, this is the parser that will be used to interpret player commands. Note that it is slot-based, so that the command handler has to do very little parsing, if any at all.

Have fun playing with it. As I note in the explanation, it still has some issues, but it's pretty cool, IMHO. :-)

It's written purely in Lua, by the way.


(EDIT: updated URL)
Amended on Tue 07 Jul 2009 08:25 PM by David Haley
USA #1
Interesting and quite nifty. Good work. :)