2013-04-10 16:57:12 -07:00
|
|
|
(defun argv ()
|
|
|
|
|
(or
|
|
|
|
|
#+clisp (ext:argv)
|
|
|
|
|
#+sbcl sb-ext:*posix-argv*
|
2013-06-05 21:47:54 +00:00
|
|
|
#+abcl ext:*command-line-argument-list*
|
2013-04-10 16:57:12 -07:00
|
|
|
#+clozure (ccl::command-line-arguments)
|
|
|
|
|
#+gcl si:*command-args*
|
|
|
|
|
#+ecl (loop for i from 0 below (si:argc) collect (si:argv i))
|
|
|
|
|
#+cmu extensions:*command-line-strings*
|
|
|
|
|
#+allegro (sys:command-line-arguments)
|
|
|
|
|
#+lispworks sys:*line-arguments-list*
|
|
|
|
|
nil))
|