Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ liszt(1) — GDT-UNX 6.8_er0

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 with names which ends in ‘.l’ and compiles the FRANZ LISP code at this file, leaving an object program on the file with the 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 Place 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 containing profiling, 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 are not be printed. 

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

−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 user readable cross reference listing.

−C Places 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 procedure also prevents the assembler language file from being assembled. 

−T Send the assembler output to standard output. 

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

(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)

4th Berkeley Distribution  —  %W% %Q% %Y%

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