gnu-common-lisp

How can I specify the package name when launching a Lisp program from the command line?

北战南征 提交于 2020-01-04 03:17:09
问题 I'm calling a Lisp function (and a few other thing) from a shell script. For brevity, below is relevant part of the script : ./gcl -load /tmp/calendrica-3.0.cl -batch -eval '(format T "~a" (CC3::sunset (CC3::fixed-from-gregorian (CC3::gregorian-date 1996 CC3::february 25)) CC3::jerusalem))' 728714.7349874675 The above code works fine but I had to append the package name CC3 for every symbol that is used; which makes the code unwieldy and hard to type. I tried to simplify it like so, using use