[plt-scheme] DrScheme configuration questions

From: Eli Barzilay (eli at barzilay.org)
Date: Mon Aug 12 10:53:09 EDT 2002

On Aug 12, Robert Bruce Findler wrote:
> Eli Barzilay <eli at barzilay.org> said:
> > 1. Is there an easy way to change the default settings?  -- I have a
> >      (read-case-sensitive #t)
> >    in my language, which seems to have an effect on using it in
> >    DrScheme too - but this is not reflected in the language settings.
> The settings in the language dialog only reflect the initial
> language you will get when you next click execute, not the
> current ones in the user's language.

I didn't explain myself properly -- the case-sensitive line is in the
module that implements my langauge -- so I always get a case-sensitive
language, but this is not reflected in the dialog which is still on
the default off position.

> > 2. Is it possible to change the printer manually?  I saw that the
> >    three output syntaxes are pretty much hard-wired in.  (The best
> >    solution, IMO, is to use what MzScheme gives you in anycase, and
> >    have a fourth output style which should be the default for
> >    non-learning languages, which will use the user's `current-print'
> >    parameter value.  This way, a single point is needed to change the
> >    output.)
> That's a good idea. I'll do that.

Ah, wonderful!  I take it that this means that it is better to wait
rather than try to hack it myself somehow?  When I had the DrSwindle
hack, I remember this being one of the more painful things since the
rep loop was running in the system level, but I need a printout that
depends on user code (people adding methods to the standard printer

> > 3. Is there an easy interface to have a language category so you get a
> >    tree of selections in the language select dialog rather than
> >    seperate lines?
> Are you asking about adding your own new languages? I'm not sure
> that I quite understand the question. Right now, when someone
> (typically a tool, although there are a few languages built in to
> DrScheme that aren't added by tools) adds a language they specify a
> list of strings that stands for a path in a tree to the
> language. The first elements of the list of strings are interior
> nodes in the tree on the left-hand side of the language dialog and
> the last strings are leaf nodes in that tree.

I see -- this is what I didn't get from the documentation: all I got
was that it is a list of "string positions" but it didn't say that
this defines a hierarchy of selections, and IIRC, the example was the
eopl thing which is what I used to see how to do it anyway, and that
defines only a single language.

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!

Posted on the users mailing list.