1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-11 08:10:21 +02:00
guile/module/language
Andy Wingo cd702346f2 fix else in cond, letrec env corruption, syntax.scm compile, define-module side effects
* module/language/scheme/translate.scm (primitive-syntax-table):
  Translate the `else' clause of a cond as (begin ...). We used to use
  trans-body, which processes internal defines, which are not legal
  syntax here.

* module/system/base/syntax.scm (define-record): Unfortunately, we can't
  unquote in the actual procedure for `%compute-initargs', because that
  doesn't work with compilation. So reference %compute-initargs by name,
  and export it.

* module/system/il/ghil.scm (apopq!): Gaaaaar. The order of the arguments
  to assq-remove! was reversed, which was the badness, causing corruption
  to the env after calling call-with-ghil-bindings. Grrrrrr.

  (fix-ghil-mod!, ghil-lookup, ghil-define): As amply commented in the
  code, deal with compile-time side effects to the current module by
  lazily noticing and patching up the compile-time environment. A hacky
  solution until such a time as we special-case something for
  `define-module'.
2008-05-15 18:48:22 +02:00
..
elisp *** empty log message *** 2001-04-22 02:13:48 +00:00
ghil *** empty log message *** 2001-04-22 02:13:48 +00:00
r5rs *** empty log message *** 2001-04-22 02:13:48 +00:00
scheme fix else in cond, letrec env corruption, syntax.scm compile, define-module side effects 2008-05-15 18:48:22 +02:00
.cvsignore *** empty log message *** 2001-04-22 02:13:48 +00:00
Makefile.am Tried compiling more code; augmented the doc. 2008-04-25 19:09:30 +02:00