Version: 5.0.2

Plugins: Extending DrRacket

Robert Bruce Findler

 (require drracket/tool-lib)
 (require drscheme/tool-lib)

This manual describes DrRacket’s tools interface. It assumes familiarity with Racket, as described in Guide: Racket, DrRacket, as described in DrRacket: Programming Environment, and the Framework, as described in Framework: Racket GUI Application Framework.

The drscheme/tool-lib library is for backward compatibility; it exports all of the bindings of drracket/tool-lib.

    1 Implementing DrRacket Tools

    2 Adding Languages to DrRacket

      2.1 Adding Module-based Languages to DrRacket

      2.2 Adding Arbitrary Languages to DrRacket

      2.3 Language Extensions

    3 Creating New Kinds of DrRacket Frames

    4 Extending the Existing DrRacket Classes

    5 Expanding the User’s Program Text and Breaking

    6 Editor Modes

    7 Language-specific capabilities

      7.1 Customizing DrRacket’s behavior

      7.2 Customizing DrRacket’s GUI

    8 Check Syntax

    9 drracket:get/extend

    10 drracket:unit

    11 drracket:language

    12 drracket:language-configuration

    13 drracket:debug

    14 drracket:rep

    15 drracket:frame

    16 drracket:help-desk

    17 drracket:eval

    18 drracket:modes

    19 drracket:module-language-tools

    20 drracket:module-language

    21 Backwards compatibility



Thanks especially to Eli Barzilay, John Clements, Matthias Felleisen, Cormac Flanagan, Matthew Flatt, Max Hailperin, Philippe Meunier, Christian Queinnec, PLT at large, and many others for their feedback and help.