1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-15 10:10:21 +02:00
guile/module/system/vm
Andy Wingo 2e7e6969bd allow multiple modules in one compilation unit
* module/system/il/ghil.scm (<ghil-env>, <ghil-toplevel-env>): Refactor
  so that all environments point (eventually) at one toplevel
  environment. Instead of having potentially multiple toplevel
  environments, each noting the module against which its bindings are
  resolved, have each binding in the toplevel record what module it
  should be resolved in. Should fix compilation units that define
  multiple modules.
  (ghil-lookup, ghil-define): Reworked to not be destructive. Module
  variables now have the module name as their "env", and are keyed as
  `(MODNAME . SYM)' in the var table.
  (call-with-ghil-environment): Reindented.

* module/system/il/inline.scm (try-inline-with-env): Adapt to
  env/toplevel changes.

* module/system/vm/assemble.scm (dump-object!): A vlink-later now holds
  the module name, not the module itself.

* module/system/il/compile.scm (make-glil-var): The "env" of a "module"
  var is now the module name, not the module.

* module/language/scheme/translate.scm (primitive-syntax-table): Update
  the way we test for toplevel environments. Reindent the lambda
  translator.
  (lookup-transformer, trans): lookup-transformer now has 2 args, not 3.
  (translate): Update the way we make toplevel environments.
2008-09-07 22:27:08 +02:00
..
.cvsignore *** empty log message *** 2001-04-22 02:13:48 +00:00
assemble.scm allow multiple modules in one compilation unit 2008-09-07 22:27:08 +02:00
conv.scm big reorg of scheme modules -- e.g. programs.c -> (system vm program) 2008-08-07 13:11:27 +02:00
debug.scm More relevant VM backtrace 2008-08-08 13:19:49 +02:00
disasm.scm fix bug in variable-set instruction; ,x prints out program metadata 2008-08-08 00:26:17 +02:00
frame.scm improve backtraces 2008-09-07 22:15:25 +02:00
instruction.scm merge guile-vm into libguile itself 2008-08-21 18:39:30 -07:00
Makefile.am module compilation fixen, post-integration 2008-08-25 13:05:16 -07:00
objcode.scm merge guile-vm into libguile itself 2008-08-21 18:39:30 -07:00
profile.scm big reorg of scheme modules -- e.g. programs.c -> (system vm program) 2008-08-07 13:11:27 +02:00
program.scm merge guile-vm into libguile itself 2008-08-21 18:39:30 -07:00
trace.scm big reorg of scheme modules -- e.g. programs.c -> (system vm program) 2008-08-07 13:11:27 +02:00
vm.scm merge guile-vm into libguile itself 2008-08-21 18:39:30 -07:00