diff options
author | Andy Wingo <wingo@pobox.com> | 2013-01-21 11:21:19 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2013-01-22 15:38:04 +0100 |
commit | 5745de917272804ab2b33a3271940b913d0d7c70 (patch) | |
tree | 7fd270a7301ce8c1fb2af7ad242956b7fb5e9a6c /doc/ref/compiler.texi | |
parent | a6bd32406d952689494124de56b2d4de7cafac98 (diff) | |
download | guile-5745de917272804ab2b33a3271940b913d0d7c70.tar.gz |
current-language is a parameter in boot-9
* module/ice-9/boot-9.scm (current-language): New parameter.
* module/system/base/language.scm (*current-language*): Pull fluid from
parameter.
(current-language): Now a re-exported parameter.
* doc/ref/compiler.texi: Update reference from *current-language* fluid
to current-language parameter.
* module/system/base/compile.scm (compile-and-load):
* module/ice-9/top-repl.scm (top-repl): Default to the current language,
not to Scheme.
* module/ice-9/eval-string.scm:
* module/system/base/language.scm:
* module/system/repl/command.scm:
* module/system/repl/repl.scm: Update to use current-language parameter
and parameterize.
Diffstat (limited to 'doc/ref/compiler.texi')
-rw-r--r-- | doc/ref/compiler.texi | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/ref/compiler.texi b/doc/ref/compiler.texi index 25cf524e9..a88942d02 100644 --- a/doc/ref/compiler.texi +++ b/doc/ref/compiler.texi @@ -1,6 +1,6 @@ @c -*-texinfo-*- @c This is part of the GNU Guile Reference Manual. -@c Copyright (C) 2008, 2009, 2010 +@c Copyright (C) 2008, 2009, 2010, 2013 @c Free Software Foundation, Inc. @c See the file guile.texi for copying conditions. @@ -112,9 +112,10 @@ subsequent calls to @code{define-language}, so it should be quite fast. @end deffn -There is a notion of a ``current language'', which is maintained in -the @code{*current-language*} fluid. This language is normally Scheme, -and may be rebound by the user. The run-time compilation interfaces +There is a notion of a ``current language'', which is maintained in the +@code{current-language} parameter, defined in the core @code{(guile)} +module. This language is normally Scheme, and may be rebound by the +user. The run-time compilation interfaces (@pxref{Read/Load/Eval/Compile}) also allow you to choose other source and target languages. |