Add bash completion

This commit is contained in:
2025-11-07 16:07:31 +02:00
parent 0b82d376fa
commit e8311e1af4
4 changed files with 144 additions and 21 deletions
+16 -6
View File
@@ -16,18 +16,18 @@ It supports most of SRFI-138 but also adds more features.
The program \fIinput-file\fR is compiled into an executable file.
The resulting executable file is written to file specified by the \fB-o\fR \fIpath\fR (if present) or to the file named same as \fIinput-file\fR but without the .scm or .sps suffix.
On Windows either .bat or .exe is appended to the output name.
.SS SUPPORT LIST
.SH SUPPORTED IMPLEMENTATIONS
.P
Some implementations support both compiling and interpreting, in that
case only the compiler functionality is used and the implementation is marked
as compiler.
.IP "R6RS Compilers"
.SS "R6RS Compilers"
loko
.IP "R6RS Interpreters"
.SS "R6RS Interpreters"
chezscheme guile ikarus ironscheme mosh racket sagittarius ypsilon
.IP "R7RS Compilers"
.SS "R7RS Compilers"
chicken cyclone loko
.IP "R7RS Interpreters"
.SS "R7RS Interpreters"
chibi foment gauche guile kawa larceny meevax mit-scheme mosh racket sagittarius skint stklos tr7 ypsilon
.SH OPTIONS
.P
@@ -47,9 +47,13 @@ Set the compilation target.
This is not needed if you are compiling for the target OS you are running.
Cross compilation is only supported in following cases:
.IP
From \fIunix\fR host to \fIwindows\fR target when chosen implementation is interpreter.
.IP
From \fIwindows\fR host to \fIunix\fR target when chosen implementation is interpreter.
.IP
From \fIunix\fR host to \fIphp\fR target when chosen implementation is interpreter.
.IP
From \fIunix\fR host to \fIwindows\fR target when chosen implementation is interpreter.
From \fIwindows\fR host to \fIphp\fR target when chosen implementation is interpreter.
.P
.B \-\-list-r6rs
List supported R6RS implementations.
@@ -62,6 +66,12 @@ List all supported implementations.
.P
\fB\-\-list-targets\fR
List all supported compilation targets.
.P
\fB\-\-version\fR
Show the software version.
.P
\fB\-\-help\fR
Shows you command to read this manual page. :)
.SH ENVIRONMENT
.P
\fBCOMPILE_R7RS\fR