1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-11 22:31:12 +02:00
guile/module/language
Andy Wingo 9d80c15649 serialize module information into syncase's output -- getting ready for hygiene
* module/ice-9/Makefile.am: Replace annotate.scm with expand-support.scm.

* module/ice-9/annotate.scm: Removed; subsumed into expand-support.scm.

* module/ice-9/compile-psyntax.scm: Strip out expansion structures before
  writing to disk.

* module/ice-9/expand-support.scm: New file. Provides annotation support,
  and other compound data types for use by the expander. Currently the
  only one that is used is the toplevel reference, <module-ref>, but we
  will record lexicals this way soon.

* module/ice-9/psyntax-pp.scm: Regenerate.

* module/ice-9/psyntax.scm (build-global-reference)
  (build-global-assignment): Instead of expanding out global references
  as symbols, expand them as <module-ref> structures, with space to
  record the module that they should be scoped against. This is in
  anticipation of us actually threading the module info through the
  syntax transformation, so that we can get hygiene with respect to
  modules.

* module/ice-9/syncase.scm: Replace eval-when. Since sc-expand will give
  us something that isn't Scheme because we put the <module-ref>
  structures in it, strip that info whenever we actually do need scheme.

* module/language/scheme/compile-ghil.scm (lookup-transformer): Strip
  expansion structures here too.

* module/language/scheme/expand.scm (language): Swap annotate for
  expand-support. But this file will die soon, I think.
2009-04-17 15:20:15 +02:00
..
assembly compilation passes return third value: the continuation environment 2009-04-16 15:20:40 +02:00
bytecode compilation passes return third value: the continuation environment 2009-04-16 15:20:40 +02:00
ecmascript compilation passes return third value: the continuation environment 2009-04-16 15:20:40 +02:00
elisp remove .cvsignore files 2008-11-10 12:17:18 +01:00
ghil support expression-by-expression compilation 2009-04-16 17:49:59 +02:00
glil compilation passes return third value: the continuation environment 2009-04-16 15:20:40 +02:00
objcode compilation passes return third value: the continuation environment 2009-04-16 15:20:40 +02:00
r5rs remove GPKG.def files 2009-01-29 21:12:00 +01:00
scheme serialize module information into syncase's output -- getting ready for hygiene 2009-04-17 15:20:15 +02:00
value Aggregate makefiles for module/system' and module/language'. 2009-02-24 23:54:16 +01:00
assembly.scm Add `load-unsigned-integer' instruction. 2009-02-18 00:54:05 +01:00
ghil.scm support expression-by-expression compilation 2009-04-16 17:49:59 +02:00
glil.scm be smarter about allocating local variables, reusing slots if possible 2009-02-21 20:28:29 +01:00
objcode.scm static opcodes; refactor program/objcode division; use new assembly pipeline 2009-01-29 21:12:00 +01:00