[plt-scheme] syntax coloring, #lang, Scribble
Matthew Flatt wrote:
> DrScheme's Scheme mode syntax colorer is now actually a `#lang'
> colorer. It detects a `#lang' line and uses a syntax colorer that is
> specified by the language, if any.
Very cool. Another step toward having #lang able to change everything of
consequence in the programming environment.
> The Scribble languages `scribble/base', `scribble/manual', etc. specify
> a syntax colorer that handles @ notation and that starts the body in
> "text" mode. The `at-exp' language constructor similarly specifies a
> colorer that adds support for `@' notation to the Scheme colorer.
Awesome. Is language-specific indentation coming soon?
> For now, `#lang planet' does not load a colorer via Planet --- because
> it seems like a bad idea to install a Planet package just because you
> open a file that starts `#lang planet ...'. We'll have to add something
> to let a DrScheme user designate packages to be trusted as plug-ins.
Can it detect whether the Planet package has been installed and only use
it if it has been?
Neil