/* -*- LPC -*- */
/*
* $Locker: $
* $Id: parse_command.c,v 1.1 1998/01/06 05:12:03 ceres Exp $
* $Log: parse_command.c,v $
* Revision 1.1 1998/01/06 05:12:03 ceres
* Initial revision
*
*/
/*
* Default language functions used by parse_command() in non -o mode
*/
string *parse_command_id_list() {
return ({ "one", "thing" });
} /* parse_command_id_list() */
string *parse_command_plural_id_list() {
return ({ "ones", "things", "them" });
} /* parse_command_plural_id_list() */
string *parse_command_adjectiv_id_list() {
return ({ "the", "a", "an" });
} /* parse_command_adjectiv_id_list() */
string *parse_command_prepos_list() {
return ({ "in", "on", "at", "along", "upon", "by", "under", "behind",
"with",
"beside", "into", "onto", "inside", "within", "from" });
} /* parse_command_prepos_list() */
string parse_command_all_word() {
return "all";
} /* parse_command_all_word() */
string *query_word_list(string word) {
switch (word) {
case "preposition" :
return parse_command_prepos_list();
default :
return 0;
}
} /* query_word_list() */