BSD 4_1c_2 release
[unix-history] / usr / man / man1 / liszt.1
CommitLineData
e16dc90a
C
1.TH LISZT 1 "1 October 1980"
2.UC 4
3.SH NAME
4liszt \- compile a Franz Lisp program
5.SH SYNOPSIS
6.B liszt
7[
8.B \-mpqruwxCQST
9] [
10.B \-o
11objfile
12] [ name ]
13.SH DESCRIPTION
14.I Liszt
15takes a file whose names ends in `.l' and compiles the F\s-2RANZ\s0 L\s-2ISP\s0
16code there leaving an object program on the file whose name is that of the
17source with `.o' substituted for `.l'.
18.PP
19The following options are interpreted by
20.I liszt.
21.TP
22.B \-m
23Compile a M\s-2ACLISP\s0 file, by changing the readtable to conform to
24\s-2MACLISP\s0 syntax and including a macro-defined compatibility package.
25.TP
26.B \-o
27Put the object code in the specified file, rather than the default `.o' file.
28.TP
29.B \-p
30places profiling code at the beginning of each non-local function.
31If the lisp system is also created with profiling in it, this allows
32function calling frequency to be determined (see
33.IR prof (1).)
34.TP
35.B \-q
36Only print warning and error messages.
37Compilation statistics and notes on correct but unusual constructs
38will not be printed.
39.TP
40.B \-r
41place bootstrap code at the beginning of the object file, which when
42the object file is executed will cause a lisp system to be invoked
43and the object file fasl'ed in.
44.TP
45.B \-u
46Compile a UCI-lispfile, by changing the readtable to conform to
47UCI-Lisp syntax and including a macro-defined compatibility package.
48.TP
49.B \-w
50Suppress warning diagnostics.
51.TP
52.B \-x
53Create a lisp cross reference file with the same name as the source
54file but with `.x' appended.
55The program
56.IR lxref (1)
57reads this file and creates a human readable cross
58reference listing.
59.TP
60.B \-C
61put comments in the assembler output of the compiler. Useful
62for debugging the compiler.
63.TP
64.B -Q
65Print compilation statistics and warn of strange constructs.
66This is the default.
67.TP
68.B \-S
69Compile the named program and leave the assembler-language output on
70the corresponding file suffixed `.s'.
71This will also prevent the assembler language file from being assembled.
72.TP
73.B \-T
74send the assembler output to standard output.
75.PP
76If
77no source file is specified, then the compiler will run interactively.
78You will find yourself talking to the
79.IR lisp (1)
80top-level command interpreter.
81You can compile a file by using the
82function
83.I liszt
84(an nlambda) with the same arguments as you use on the command line.
85For example to compile `foo', a M\s-2ACLISP\s0 file, you would use:
86.IP
87(liszt \-m foo)
88.PP
89Note that
90.I liszt
91supplies the ``.l'' extension for you.
92.SH FILES
93.ta 2.4i
94.nf
95/usr/lib/lisp/machacks.l M\s-2ACLISP\s0 compatibility package
96/usr/lib/lisp/syscall.l macro definitions of Unix system calls
97/usr/lib/lisp/ucifnc.l UCI Lisp compatibility package
98.fi
99.SH AUTHOR
100John Foderaro
101.SH SEE ALSO
102lisp(1), lxref(1)