Guile Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: use-syntax: use-reader?
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
Guile Home |
Main Index |
Thread Index