summaryrefslogtreecommitdiff
path: root/doc/ref/api-evaluation.texi
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2019-12-02 17:29:32 +0100
committerAndy Wingo <wingo@pobox.com>2019-12-02 17:32:34 +0100
commit0f61d8d797f085df3e566147c22d1581b4d00a49 (patch)
tree16d33f46680bfe88dafb8a48276d39816ec69a57 /doc/ref/api-evaluation.texi
parent82127b3ad90ae01c0eb14fedf65a1233d41d9927 (diff)
downloadguile-0f61d8d797f085df3e566147c22d1581b4d00a49.tar.gz
Add --r6rs and --r7rs options to "guild compile"
* module/scripts/compile.scm (%options, compile): Add --r6rs and --r7rs options. * doc/ref/api-evaluation.texi (Compilation): Add docs.
Diffstat (limited to 'doc/ref/api-evaluation.texi')
-rw-r--r--doc/ref/api-evaluation.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/ref/api-evaluation.texi b/doc/ref/api-evaluation.texi
index bcebacf49..c88af2953 100644
--- a/doc/ref/api-evaluation.texi
+++ b/doc/ref/api-evaluation.texi
@@ -686,6 +686,12 @@ more important than the speed of the compiled code. Pass
of @code{-O} options can be passed to the compiler, with later ones
taking precedence.
+@item --r6rs
+@itemx --r7rs
+Compile in an environment whose default bindings, reader options, and
+load paths are adapted for specific Scheme standards. @xref{R6RS
+Support}, and @xref{R7RS Support}.
+
@item -f @var{lang}
@itemx --from=@var{lang}
Use @var{lang} as the source language of @var{file}. If this option is omitted,