[plt-scheme] Simple IDE questions: multi-file projects

From: Robby Findler (robby at cs.uchicago.edu)
Date: Mon Sep 8 23:42:31 EDT 2008

On Mon, Sep 8, 2008 at 10:39 PM, Eric Tanter <etanter at dcc.uchile.cl> wrote:
> b) the module browser does not open: I get the message "The module browser
> is only available for programs in the PLT languages and in the module
> language (and only for programs that have modules in them)." ... and my
> program is in the module language, my program is made up of 6-7 modules + a
> couple of test files that just require the modules and play with them.

I guess you're trying to use the module browser in one of the test
files? That doesn't work. Everything has to be in a module.

FWIW, we have tried to make things work well when everything is in a
module. Really everything.

Robby

> On Sep 8, 2008, at 23:22 , Eric Tanter wrote:
>
>> Indeed, with dynamic-require I was able to have things work. Thanks a lot!
>>
>> -- Éric
>>
>>
>> On Sep 8, 2008, at 19:19 , Henk Boom wrote:
>>
>>> 2008/9/8 Eric Tanter <etanter at dcc.uchile.cl>:
>>>>>
>>>>> The short answer is that modules may have macros and other things that
>>>>> affect the compilation of those that require them, so cycles are just
>>>>> disallowed.
>>>>
>>>> Ok I understand that. Would be nice if I could say (or even better, if
>>>> the
>>>> system could figure out --fairly straightforward I guess) that a module
>>>> is a
>>>> "plain standard definitions module" so that these issues don't show up.
>>>>
>>>>> You might try using units inside your files
>>>>
>>>> ok, will look at what this other kind of beast is...
>>>>
>>>>> (or just refactoring ...)
>>>>
>>>> I understand this idea, but does not always work. I have an interpreter
>>>> and
>>>> a transport layer, I want them to be separate modules, but one needs to
>>>> call
>>>> the other, and vice-versa. Can't help it. And I can imagine tons of
>>>> similar
>>>> cases...
>>>
>>> You could try dynamic-require, which seems to work in my experience.
>>>
>>>  Henk
>>
>> _________________________________________________
>> For list-related administrative tasks:
>> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>

Posted on the users mailing list.