Previous: Examples Of Defining Drei Commands, Up: Defining Drei Commands


18.5.4 Drei's Syntax Command Table Protocol

In order to provide conditionally active command tables, Drei defines the syntax-command-table class. While this class is meant to facilitate the addition of commands to syntaxes when they are run in a specific context (for example, a large editor application adding a Show Macroexpansion command to Lisp syntax), their modus operandi is general enough to be used for all conditional activity of command tables.