guile/module/system
Ludovic Courtes 2335fb97dc Added support for defmacro' and define-macro' in the compiler.
* module/language/scheme/translate.scm: Use `(srfi srfi-39)'.
  (&current-macros): New top-level.
  (expand-macro): New.
  (scheme-primitives): Renamed `%scheme-primitives'.
  (%forbidden-primitives): New.
  (trans): Use `expand-macro' instead of `macroexpand'.
  (trans-pair): Handle `define-macro' and `defmacro'.

* module/system/base/compile.scm (call-with-compile-error-catch): Handle
  non-pair LOC.

* testsuite/t-macros2.scm: New test case.

* testsuite/Makefile.am (vm_test_files): Updated.

* testsuite/t-macros.scm: Test `read-options'.

git-archimport-id: lcourtes@laas.fr--2005-mobile/guile-vm--mobile--0.6--patch-9
2008-04-25 19:09:30 +02:00
..
base Added support for defmacro' and define-macro' in the compiler. 2008-04-25 19:09:30 +02:00
il Tried compiling more code; augmented the doc. 2008-04-25 19:09:30 +02:00
repl Tried compiling more code; augmented the doc. 2008-04-25 19:09:30 +02:00
vm Fixed an "unbound variable" in `(system vm conv)'. 2008-04-25 19:09:30 +02:00
.cvsignore *** empty log message *** 2001-04-22 02:13:48 +00:00
Makefile.am *** empty log message *** 2001-04-22 02:13:48 +00:00