|  |  | DR. GEOGuile Script

## DR. GEOGuile Script

DR. GEOis Guile aware. This means it is possible to execute Guile scripts within DR. GEO. But what is Guile? From the Guile manual:

Guile is an interpreter for the Scheme programming language, packaged for use in a wide variety of environments.

The following citation describes accurately how is used Guile within DR. GEO:

Like a shell, Guile can run interactively, reading expressions from the user, evaluating them, and displaying the results, or as a script interpreter, reading and executing Scheme code from a file. However, Guile is also packaged as an object library, allowing other applications to easily incorporate a complete Scheme interpreter. An application can use Guile as an extension language, a clean and powerful configuration language, or as multi-purpose "glue", connecting primitives provided by the application.

In DR. GEO, an API is available from the Guile interpretor. This API is a set of hooks in the geometric engine. Therefore the user can write scripts to manipulate figure items (geometric and numeric). Also, as scripts are figure items like any other, they do not need to be saved as separate files. They are saved in the figure file. In the following, we will use the DGS acronym for DR. GEOGuile Script.

- Creating a DGS
- More about DGS

|  |  | DR. GEOGuile Script