X-Git-Url: https://jxself.org/git/?p=mudsync.git;a=blobdiff_plain;f=mudsync%2Fcommand.scm;h=765962ce28dcd88defa2efbfe814f029bb5440c9;hp=23e21dac8f85fc75645cc18620e0613dba0818d9;hb=6f7c1d4f9a2043c16f83facef6b3216e45e14f40;hpb=10ff4122c37899d011ded00c5ebe1333f2477a34 diff --git a/mudsync/command.scm b/mudsync/command.scm index 23e21da..765962c 100644 --- a/mudsync/command.scm +++ b/mudsync/command.scm @@ -18,7 +18,7 @@ (define-module (mudsync command) #:use-module (mudsync parser) - #:use-module (8sync systems actors) + #:use-module (8sync actors) #:use-module (srfi srfi-1) #:use-module (srfi srfi-9) #:use-module (ice-9 control) @@ -32,10 +32,10 @@ command-priority direct-command - indir-command - indir-as-direct-command + prep-indir-command + prep-direct-command loose-direct-command - loose-indir-command + loose-prep-command empty-command direct-greedy-command greedy-command @@ -90,7 +90,7 @@ %default-priority)) -(define* (indir-command verbs action #:optional prepositions) +(define* (prep-indir-command verbs action #:optional prepositions) (make-command verbs cmatch-indir-obj (lambda* (goes-by #:key direct-obj indir-obj preposition) @@ -102,7 +102,7 @@ action %high-priority)) -(define* (indir-as-direct-command verbs action #:optional prepositions) +(define* (prep-direct-command verbs action #:optional prepositions) (make-command verbs cmatch-indir-obj (lambda* (goes-by #:key direct-obj indir-obj preposition) @@ -114,7 +114,7 @@ action %high-priority)) -(define* (loose-indir-command verbs action #:optional prepositions) +(define* (loose-prep-command verbs action #:optional prepositions) (make-command verbs cmatch-indir-obj (const #t)