X-Git-Url: https://code.consxy.com/gitweb/gitweb.cgi?a=blobdiff_plain;f=src%2Fmain%2Fparse.lisp;h=914e0dcbc40770a7e22cd8a3594cdba1458e6e54;hb=7a82368;hp=11af5517e284a97db29cddf9aa6035aeadf2a402;hpb=083d6c212147c2242f0513924e931bcdafd641c9;p=clnl diff --git a/src/main/parse.lisp b/src/main/parse.lisp index 11af551..914e0dc 100644 --- a/src/main/parse.lisp +++ b/src/main/parse.lisp @@ -246,6 +246,7 @@ DESCRIPTION: (defprim :<= (:number :number) :infix) (defprim :any? (:agentset)) (defprim :ask (:agentset :command-block)) +(defprim :ca ()) (defprim :clear-all ()) (defprim :crt (:number (:command-block :optional))) (defprim :color ()) @@ -254,7 +255,7 @@ DESCRIPTION: (defprim :display ()) (defprim :with (:agentset :reporter-block) :infix) (defprim :fd (:number)) -(defprim :hatch (:number :command-block)) +(defprim :hatch (:number (:command-block :optional))) ; (defprim :let (t t)) ; keeping this here, commented out, to note that it has special processing (defprim :if (:boolean :command-block)) (defprim :if-else (:boolean :command-block :command-block)) @@ -271,7 +272,7 @@ DESCRIPTION: (defprim :random-float (:number)) (defprim :random-xcor ()) (defprim :random-ycor ()) -(defprim :round ()) +(defprim :round (t)) (defprim :reset-ticks ()) (defprim :lt (:number)) (defprim :rt (:number))