Command parsing... best module to use?
metolone+gmane at gmail.com
Mon Nov 2 19:21:34 CET 2009
"Collin D" <collin.day.0 at gmail.com> wrote in message
news:94dbc92b-0682-4995-b358-0c615c95a27a at x6g2000prc.googlegroups.com...
> Hey everyone.
> I am writing a game in python, and it includes a text console somewhat
> like the one in WoW and Runescape. I want to be able to include "/"
> commands, like IRC, and was wondering what the best module would be to
> parse these.
Check out the pyparsing module. Here is a presentation given by the author
for parsing an interactive game.
More information about the Python-list