[plt-scheme] word completion for module based languages
Oh, right. It is an abbreviation for "(module ..." that's true. But if
your language works as the second argument to module, our tools are,
generally speaking, gearing towards supporting the language that way.
The times when using the language dialog is more appropriate is for
writing languages that beginners use or things like that where the
potential for more general error messages might be a problem.
Robby
On Sat, Jun 28, 2008 at 2:20 AM, Robert Matovinovic
<robert.matovinovic at web.de> wrote:
> Yes, the language is in the language dialog and defined as module with
> "(module ..." and uses drscheme:language-configuration:add-language and
> drscheme:get/extend:extend-unit-frame. I will look at "#lang ...". So far I
> only know that one can use it as an abbreviation for module.
>
> Robert
>
> -----Ursprüngliche Nachricht-----
> Von: robby.findler at gmail.com [mailto:robby.findler at gmail.com] Im Auftrag von
> Robby Findler
> Gesendet: Freitag, 27. Juni 2008 22:16
> An: Robert Matovinovic
> Cc: plt-scheme at list.cs.brown.edu
> Betreff: Re: [plt-scheme] word completion for module based languages
>
>
> On Fri, Jun 27, 2008 at 2:47 PM, Robert Matovinovic
> <robert.matovinovic at web.de> wrote:
>> Finally I could test what you have checked in, Robby. Word completion
>> now shows also all commands of my module language in version 4.0.1
>> [3m](Yippieh), thank you very much. But unfortunately it works only if
>> one of the built-in languages are chosen but not when I switch to my
>> module language. So something is still missing which is important to
>> me. Maybe there is something I have to add to my module. I don't ask
>> for language specific filtering of the word completion, the whole list
>> would be alright, just that it works also with a module language.
>
> Can you tell me a little more about how you've added the language to
> DrScheme? Is it in the language dialog?
>
> If so, perhaps you might consider defining your language in a way that
> "#lang ..." works and then using DrScheme's module language. We're trying to
> migrate that way so that all of the information needed to run the program is
> in the program's text itself (as opposed to being in the environment).
>
>> I also like to use the debugger with my module language, but it
>> doesn't. Is there an easy fix?
>
> I suspect the answer here may be the same as the above, but I'm not sure.
>
> Robby
>
>
>