This is the mail archive of the guile@cygnus.com mailing list for the guile project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Mikael Djurfeldt writes: > There is currently no way to tell that a module uses another reader. > > This is one of the things which will be solved in the new module > system. > > What should we do until then? > > Well, note that we need a scheme reader to parse the module > definition, so we should probably make a "proxy module": > > (define-module (my-package my-module) > :use-module (used-package used-module)) > > <machinery for loading of forreign code> See src/thud/scan.scm in the thud distribution for an example of this. Although procedure `include-th-file' uses the regular Scheme reader, it could conceivably use something else. Yes, `scan-dispatch' should be rewritten w/ syntax magic... Cheers, thi