[plt-scheme] Defining a transformation time path, or setting module-language to something useful
On Jun 24, Noel Welsh wrote:
> Abstractly, I want to recognise when a module is written in a
> particular language, so that modules written in that same language
> can handle requires specially. [...]
Ah, in that case I have a much easier answer -- the only conventional
language property that I made the code do (so far, at least) is
`language-module' -- and that returns the language-position
specification. For example:
((read-language (open-input-string "#lang scheme")) 'module-language)
But I see now that it doesn't work with "#lang at-exp scheme/base",
and it should. I'll try to look into it soon.
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://www.barzilay.org/ Maze is Life!