A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://docs.racket-lang.org/reference/interaction-info.html below:

18.4 Interaction Configuration

18.4 Interaction Configuration🔗ℹ

The racket/interaction-info library provides a way to register a langauge’s configuration for a read-eval-print loop and editor.

A

parameter

that provides configuration for a language for use by interactive development tools, such as a command-line evaluation prompt with syntax coloring and indentation support. This parameter is typically set by a

configure-runtime

module; see also

Language Run-Time Configuration

.

Instead of providing configuration information directly, the current-interaction-info parameter specifies a module to load, a exported function to call, and data to pass as an argument to the exported function. The result of that function should be another one that accepts two arguments: a symbol indicating the kind of information requested (as defined by external tools), and a default value that normally should be returned if the symbol is not recognized.

For information on defining a new #lang language, see syntax/module-reader.

Added in version 8.3.0.2 of package base.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4