8 Configuration Parameters
This library provides configuration parameters for the other libraries. It be can required via:
(require (planet dherman/javascript:6/config)) |
allow-anonymous-function-source-elements? : (parameter/c boolean?) |
Allow anonymous function expressions to appear in source-element contexts (non-standard)?
Allow do..while statements to omit the final semicolon (non-standard)?
Allow Mozilla-style multiple catch clauses (non-standard)?
allow-nested-function-declarations? : (parameter/c boolean?) |
Allow function declarations to appear nested within statements (non-standard)?
Enable proper tail recursion? (Not implemented.)
Impose an artificial stack depth limit.
Allow treating eval as a general value?
code-representation : (parameter/c (one-of/c 'standard 'sexp)) |
Used for the DrScheme tool to choose between the standard JavaScript syntax and an S-expression syntax.
Recognized lexical keywords.
Enable non-standard let expressions?
debug-destination : (parameter/c (one-of/c 'error-port 'debug-console)) |
A pseudo-parameter for setting parameters above to adhere strictly to the Ecma standard.
The output port used for displaying debugging information during evaluation.