next up previous contents
Next: 5.17 The builtinsis_primitive Up: 5 The code generator Previous: 5.15 Getting global information

5.16 Obtaining the procedure arity

When coping with a classified_procedure, the arity is needed. This is coded in the procedure_name following the proc identifier. However, the arity is coded in an atom symbol unsuitable for (numeric) processing. It is straightforward to extract the number via the COMMON LISP symbol processing functions. The alternative employed here is to use some selectors to get the information from a `lower' level.

Harold Boley (