[Fluxus] #lang

Dave Griffiths dave at pawfal.org
Fri Oct 17 13:57:17 PDT 2008


On Fri, 2008-10-17 at 20:01 +0200, gabor papp wrote:
> hi all,
> 
> i'm trying to read the contents of a directory using (find-files), which
> seems to require the #lang scheme line. unfortunately it does not work
> in the scratchpad. fluxus can be started with the -lang parameter, but
> fluxus -lang scheme does not work. it displays the following error
> message endlessly:
> #f::20: compile: unbound variable in module in: fluxus-frame-callback
> any help would be appreciated.

I think to use #lang you need to be using a module, which is then
(required) in your top level fluxus script.

-lang does the following:
(module foo "+m_Language+" "+str+") (require foo)
where m_Language is the specified language, and str is the code - I
think this is equivalent to what #lang expands to - it essentially wraps
the current code in a module which uses the language you specify.

That's about all I know about this :) what are you trying to do?

cheers.

dave





More information about the Fluxus mailing list