1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-07-02 15:40:38 +02:00
guile/module
Ludovic Courtès 87c595c757 Compile in a fresh module by default.
* module/system/base/compile.scm (make-compilation-module,
  language-default-environment): New procedures.
  (read-and-compile, compile): Have ENV default to
  `(language-default-environment from)'.
  (compile-and-load): Compile in `(current-module)'.

* module/system/repl/common.scm (repl-compile): Explicitly compile in
  the current module so that macro definitions are visible.

* libguile/load.c (kw_env): New variable.
  (do_try_autocompile): Call `compile-file' with `#:env (current-module)'.

* test-suite/tests/compiler.test ("psyntax")["compile uses a fresh module by
  default", "compile-time definitions are isolated"]: New tests.
  ["compile in current module"]: Specify `#:env (current-module)'.
  ["redefinition"]: Adjust.

* test-suite/tests/bytevectors.test (c&e): Explicitly compile in the
  current module so that its imports are visible.
2009-09-20 21:54:41 +02:00
..
ice-9 "Document" the `set-module-eval-closure!' weak hash table glitch. 2009-09-15 22:31:45 +02:00
language fix compile-time bug compiling (+ "foo" " bar") 2009-09-06 14:15:45 +02:00
oop
rnrs
scripts Add proper --help' and --version' for `guile-tools compile'. 2009-08-15 14:18:57 +02:00
srfi Remove deprecation warnings from the build 2009-09-17 01:18:14 +01:00
system Compile in a fresh module by default. 2009-09-20 21:54:41 +02:00
Makefile.am Incorporate ice-9-debugger-extensions properly 2009-08-27 22:21:20 +01:00