Next: , Previous: , Up: iklib   [Index]


6.17 Extended code evaluation

The following bindings are exported by the library (vicare).

Function: eval sexp environment
Function: eval sexp environment expander-options compiler-options

Extension of eval as defined by R6RS. The arguments expander-options and compiler-options must be objects returned by expander-options and compiler-options.

Syntax: expander-options ?symbol

Expand to an object representing the expander options to be used as argument to eval. Supported ?symbol options are:

strict-r6rs

Adhere more strictly to the behaviour defined by R6RS. For example: report errors at run–time, rather than at expand–time.

typed-language

Turn on the tagged language extensions (see (vicare-typed)The typed language).

default-language

This is the R6RS language without strict rules.

Syntax: compiler-options ?symbol

Expand to an object representing the compiler options to be used as argument to eval. Supported ?symbol options are:

strict-r6rs

Adhere more strictly to the behaviour defined by R6RS. For example: report errors at run–time, rather than at compile–time.

default-language

This is the R6RS language without strict rules.