26. Bigloo The Programming Language (4.6a) User manual for version 4.6a January 2025 -- Parameters

main page

top: | Bigloo The Programming Language (4.6a) User manual for version 4.6a January 2025

Parameters

Chapters

The Bigloo parameters drive the global behavior programs. A parameter is accessed via a pair of functions: a reader and a setter. The type of the value is given, in this documentation, by the name of the parameter of the setter.

bigloo-strict-r5rs-strings | bigloo function

bigloo-strict-r5rs-strings-set! boolean | bigloo function

Traditional syntax conforms to the Revised Report if the parameter `bigloo-strict-r5rs-strings` is not `#f`. Otherwise constant strings specified by the `"([^"]|\")*"` are considered as foreign strings.
For example, after reading the expression `"1\n23\t4\"5"`, the following string is built, which is equal to `(string #\1 #\n #\2 #\3 #\t #\4 #\" #\5)` if `(bigloo-strict-r5rs-strings)` is not `#f`. It is `(string #\1 #\n #\2 #\3 #\tab #\4 #\" #\5)` otherwise.
Printing this string will produce: `1n23t4"5`.
The new foreign syntax allows C escape sequences to be recognized. For example, the expression `#"1\n23\t4\"5"` builds a string equal to:
`(string #\1 #\newline #\2 #\3 #\t #\4 #\" #\5)`
and printing this string will then produce:

    1
    23    4"5

bigloo-compiler-debug | bigloo function

bigloo-compiler-debug-set! integer | bigloo function

bigloo-debug | bigloo function

bigloo-debug-set! integer | bigloo function

bigloo-warning | bigloo function

bigloo-warning-set! integer | bigloo function

These parameters control the debugging and warning level. The `bigloo-compiler-debug` is automatically controlled by the compiler command line `-g` option (see Command Line Parsing).
When a program is compiled in debug mode `lvl`, the compiler introduces a call to `(bigloo-debug-set! lvl)` before the evaluation of the first expression.
The `bigloo-debug` parameter is used to control traces (see Tracing).

bigloo-trace | bigloo function

bigloo-trace-set! list | bigloo function

Specifies the active trace (see `with-trace` form). The argument `list` is the list of symbols which are active and which triggers the display of a `with-trace` form.

bigloo-trace-color | bigloo function

bigloo-trace-color-set! bool | bigloo function

Enables/disables traces coloring (see Tracing).

bigloo-trace-stack-depth | bigloo function

bigloo-trace-stack-depth-set! integer | bigloo function

Controls the depth of the stack trace to be displayed on errors. With systems that supports shell variables (such as Unix) this parameter is dynamically adjusted according to the value of the SHELL variable `BIGLOOSTACKDEPTH`.

bigloo-eval-strict-module | bigloo function

bigloo-eval-strict-module-set! bool | bigloo function

When set to `#t` enables eval optimization that inlines operators calls. This optimization reduces the memory footprint of an application and it reduces the execution time.

bigloo-dns-enable-cache | bigloo function

bigloo-dns-enable-cache-set! bool | bigloo function

Enable/disable DNS name caching.

bigloo-dns-cache-validity-timeout | bigloo function

bigloo-dns-cache-validity-timeout-set! integer | bigloo function

Get/set the validity period for the DNS cache entries. It is expressed in seconds.

This Html page has been produced by Skribe.
Last update Mon Jan 27 07:55:49 2025.