Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ liszt(1) — UNIX 4.1BSD

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

lisp(1)

lxref(1)

LISZT(1)  —  Unix Programmer’s Manual

NAME

liszt − compile a Franz Lisp program

SYNOPSIS

liszt [ −mpqruwxCQST ] [ −o objfile ]  [ name ]

DESCRIPTION

Liszt takes a file whose names ends in ‘.l’ and compiles the FRANZ LISP code there leaving an object program on the file whose name is that of the source with ‘.o’ substituted for ‘.l’. 

The following options are interpreted by liszt. 

−m Compile a MACLISP file, by changing the readtable to conform to MACLISP syntax and including a macro-defined compatibility package. 

−o Put the object code in the specified file, rather than the default ‘.o’ file. 

−p places profiling code at the beginning of each non-local function.  If the lisp system is also created with profiling in it, this allows function calling frequency to be determined (see prof(1).)

−q Only print warning and error messages.  Compilation statistics and notes on correct but unusual constructs will not be printed. 

−r place bootstrap code at the beginning of the object file, which when the object file is executed will cause a lisp system to be invoked and the object file fasl’ed in. 

−u Compile a UCI-lispfile, by changing the readtable to conform to UCI-Lisp syntax and including a macro-defined compatibility package. 

−w Suppress warning diagnostics. 

−x Create a lisp cross reference file with the same name as the source file but with  ‘.x’ appended.  The program lxref(1) reads this file and creates a human readable cross reference listing.

−C put comments in the assembler output of the compiler. Useful for debugging the compiler. 

-Q Print compilation statistics and warn of strange constructs.  This is the default. 

−S Compile the named program and leave the assembler-language output on the corresponding file suffixed ‘.s’.  This will also prevent the assembler language file from being assembled. 

−T send the assembler output to standard output. 

If no source file is specified, then the compiler will run interactively.  You will find yourself talking to the lisp(1) top-level command interpreter. You can compile a file by using the function liszt (an nlambda) with the same arguments as you use on the command line.  For example to compile ‘foo’, a MACLISP file, you would use:

(liszt −m foo)

Note that liszt supplies the “.l” extension for you. 

FILES

/usr/lib/lisp/machacks.lMACLISP compatibility package
/usr/lib/lisp/syscall.lmacro definitions of Unix system calls
/usr/lib/lisp/ucifnc.lUCI Lisp compatibility package

AUTHOR

John Foderaro

SEE ALSO

lisp(1), lxref(1)

th Berkeley Distribution  —  10/1/80

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026