Starting a Lisp environment: Which command names are commonly used to invoke the Lisp system on typical installations?
-
AAI
-
BLISP
-
CCL (Common Lisp)
-
DBoth b and c
-
ENone of the above
Answer
Correct Answer: Both b and c
Explanation
Introduction / Context:Different Common Lisp implementations provide launch commands that reflect either the language (LISP/CL) or a vendor-specific binary name. The question checks recognition of generic invocation names across platforms.
Given Data / Assumptions:
- We focus on generic, language-oriented command names.
- Implementations vary: SBCL, CLISP, Allegro, CMUCL, etc.
- Historically, commands like ‘‘lisp’’ or ‘‘cl’’ have been common wrappers.
Concept / Approach:While many vendors use their own executable names (e.g., sbcl, clisp), generic entry points often include ‘‘lisp’’ or ‘‘cl’’. Therefore, acknowledging both ‘‘LISP’’ and ‘‘CL’’ covers standard, language-centric invocations.
Step-by-Step Solution:
Identify conventional names that map to Common Lisp runtime loaders.Exclude vague or nonstandard entries that do not commonly launch Lisp.Select ‘‘Both b and c’’ to capture typical invocations.Verification / Alternative check:On Unix-like systems, symlinks ‘‘lisp’’ or ‘‘cl’’ are frequently provided; Windows shortcuts likewise reflect these names for certain distributions.
Why Other Options Are Wrong:
- ‘‘AI’’ is not a standard shell command for Lisp.
- ‘‘None of the above’’ contradicts widely used command names.
Common Pitfalls:Assuming a single universal executable; in practice, vendor names vary, but ‘‘lisp’’ and ‘‘cl’’ remain common generic launchers.
Final Answer:Both b and c