1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-16 10:40:19 +02:00
guile/testsuite
Ludovic Courtes b89fc2153e Slowly improving support for macro compilation.
* module/language/scheme/translate.scm (&current-macros): Removed.
  (&current-macro-module): Removed.
  (&compile-time-module): New.
  (eval-at-compile-time): New.
  (translate): Initialize `&compile-time-module'.
  (expand-macro)[use-syntax]: New case.
  [begin let...]: Don't expand these built-in macros.
  [else]: Rewrote the macro detection and invocation logic.  Invoke macro
  transformers in the current compile-time module.
  (trans): Let `expand-macro' raise an exception if needed.
  (trans-pair)[defmacro define-macro]: Evaluate the macro definition in
  the compile-time module.

* testsuite/t-match.scm: Use `use-syntax' instead of `use-modules' for
  `(ice-9 match)' and `(srfi srfi-9)'.

* testsuite/t-records.scm: Likewise.

git-archimport-id: lcourtes@laas.fr--2005-mobile/guile-vm--mobile--0.6--patch-15
2008-04-25 19:15:50 +02:00
..
Makefile.am Encode the length of constant lists/vectors on 2 octets instead of 1. 2008-04-25 19:09:30 +02:00
run-vm-tests.scm Fixed a Scheme translation bug; cleaned compilation with GCC 4. 2008-04-25 19:09:30 +02:00
t-basic-contructs.scm Encode the length of constant lists/vectors on 2 octets instead of 1. 2008-04-25 19:09:30 +02:00
t-closure.scm Fixed a Scheme translation bug; cleaned compilation with GCC 4. 2008-04-25 19:09:30 +02:00
t-closure2.scm Fixed a Scheme translation bug; cleaned compilation with GCC 4. 2008-04-25 19:09:30 +02:00
t-closure3.scm Fixed a Scheme translation bug; cleaned compilation with GCC 4. 2008-04-25 19:09:30 +02:00
t-do-loop.scm Fixed a Scheme translation bug; cleaned compilation with GCC 4. 2008-04-25 19:09:30 +02:00
t-global-bindings.scm * src/objcodes.c (make_objcode_by_mmap): Fixed the error type when the 2008-04-25 19:09:30 +02:00
t-macros.scm Added support for defmacro' and define-macro' in the compiler. 2008-04-25 19:09:30 +02:00
t-macros2.scm Added support for defmacro' and define-macro' in the compiler. 2008-04-25 19:09:30 +02:00
t-match.scm Slowly improving support for macro compilation. 2008-04-25 19:15:50 +02:00
t-proc-with-setter.scm Fixed a Scheme translation bug; cleaned compilation with GCC 4. 2008-04-25 19:09:30 +02:00
t-records.scm Slowly improving support for macro compilation. 2008-04-25 19:15:50 +02:00
t-values.scm * src/objcodes.c (make_objcode_by_mmap): Fixed the error type when the 2008-04-25 19:09:30 +02:00
the-bug.txt * src/objcodes.c (make_objcode_by_mmap): Fixed the error type when the 2008-04-25 19:09:30 +02:00