Making the manual page
This commit is contained in:
parent
00cdf59cf0
commit
0b82d376fa
|
|
@ -9,6 +9,10 @@
|
||||||
(libs library-util)
|
(libs library-util)
|
||||||
(srfi 170))
|
(srfi 170))
|
||||||
|
|
||||||
|
(when (member "--help" (command-line))
|
||||||
|
(newline)
|
||||||
|
(exit 0))
|
||||||
|
|
||||||
(when (or (member "--list-r6rs" (command-line))
|
(when (or (member "--list-r6rs" (command-line))
|
||||||
(member "--list-r6rs-schemes" (command-line)))
|
(member "--list-r6rs-schemes" (command-line)))
|
||||||
(for-each (lambda (scheme) (display scheme) (display " ")) r6rs-schemes)
|
(for-each (lambda (scheme) (display scheme) (display " ")) r6rs-schemes)
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,12 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
compile-scheme \- Compiling Scheme programs to executables
|
compile-scheme \- Compiling Scheme programs to executables
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
\fBcompile-scheme\fR { [\fB-A\fR \fIpath\fR] [\fB-I\fR \fIpath\fR] [\fB-o\fR \fIpath\fR] [\fB-t\fR \fItarget\fR] \fIinput-file\fR{\fI.scm\fR | \fI.sps\fR} | \fIlong-option\fR }
|
.P
|
||||||
|
\fBcompile-scheme\fR [\fB-A\fR \fIpath\fR] [\fB-I\fR \fIpath\fR] [\fB-o\fR \fIpath\fR] [\fB-t\fR \fItarget\fR] \fIinput-file.sps\fR
|
||||||
|
.P
|
||||||
|
\fBcompile-scheme\fR [\fB-A\fR \fIpath\fR] [\fB-I\fR \fIpath\fR] [\fB-o\fR \fIpath\fR] [\fB-t\fR \fItarget\fR] \fIinput-file.scm\fR
|
||||||
|
.P
|
||||||
|
\fBcompile-scheme\fR \fIlong-option\fR
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.P
|
.P
|
||||||
\fBcompile-scheme\fR is a tool to compile R6RS and R7RS Scheme programs.
|
\fBcompile-scheme\fR is a tool to compile R6RS and R7RS Scheme programs.
|
||||||
|
|
@ -81,6 +86,11 @@ Not all implementations support adding to beginning or end of load path so -I an
|
||||||
.IP
|
.IP
|
||||||
Only supports one input-file.
|
Only supports one input-file.
|
||||||
.SH EXAMPLES
|
.SH EXAMPLES
|
||||||
|
.P
|
||||||
|
Compile single R6RS file with all dependencies in the same folder.
|
||||||
|
.IP
|
||||||
|
COMPILE_SCHEME=<SCHEME> compile-scheme main.sps
|
||||||
|
.P
|
||||||
|
Compile single R7RS file with all dependencies in the same folder.
|
||||||
|
.IP
|
||||||
|
COMPILE_SCHEME=<SCHEME> compile-scheme main.scm
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue