Updating mudsync for 8sync suspendable-ports refactor
[mudsync.git] / mudsync / parser.scm
index 5da6bc9f8c6c8c0ee8dd0f38a68891abfa2eca67..034b22f3f2f04dc8f5e2bc609658241e5b9fbd43 100644 (file)
 
 ;; definite and indefinite, but not partitive articles
 (define article '(or "the" "a" "an"))
-(define preposition '(or "with" "in" "on" "out of" "at"))
+(define preposition '(or "with" "in" "on" "out of" "at" "as" "to"
+                         "about"))
 
 (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)