manpagez: man pages & more
info bigloo
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

25 Parameters

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 function: bigloo-strict-r5rs-strings
bigloo function: bigloo-strict-r5rs-strings-set! boolean

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 function: 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

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 function: bigloo-trace-color
bigloo function: bigloo-trace-color-set! bool

Enables/disables traces coloring (see Tracing).

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

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

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

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 function: bigloo-dns-enable-cache
bigloo function: bigloo-dns-enable-cache-set! bool

Enable/disable DNS name caching.

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

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


[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated on March 31, 2014 using texi2html 5.0.

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.