X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=mudsync%2Fparser.scm;h=efda86e3b26c536bd5662355912dd2bd7101bf78;hb=055ce4c85ccf38385b80d1873927e059f7b58a20;hp=ab5a5d7d61dc2328f3e41b48b2385d48c9fa9f2b;hpb=10ff4122c37899d011ded00c5ebe1333f2477a34;p=mudsync.git diff --git a/mudsync/parser.scm b/mudsync/parser.scm index ab5a5d7..efda86e 100644 --- a/mudsync/parser.scm +++ b/mudsync/parser.scm @@ -61,11 +61,12 @@ ;; definite and indefinite, but not partitive articles (define article '(or "the" "a" "an")) -(define preposition '(or "with" "in" "on" "out of" "at" "as")) +(define preposition '(or "with" "in" "inside" "into" "on" "out" "out of" + "at" "as" "to" "about" "from")) (define indirect-irx (sre->irregex - `(: (? (: ,preposition (+ space))) ; possibly a preposition (ignored) + `(: (? (: ,preposition (+ space))) ; possibly a preposition (? (: ,article (+ space))) ; possibly an article (ignored) (=> direct-obj (* any)) ; direct object (kept) (+ space)