chicken FILENAME {OPTION}
FILENAME is the complete pathname of the source file that is to be translated into C. A filename argument of ``-'' specifies that the source text should be read from standard input. Possible options are:
| t | show time needed for compilation |
| b | show breakdown of time needed for each compiler pass |
| o | show performed optimizations |
| r | show invocation parameters |
| s | show program-size information and other statistics |
| a | show node-matching during simplification |
| p | show execution of compiler sub-passes |
| l | show lambda-lifting information |
| m | show GC statistics during compilation |
| n | print the line-number database |
| c | print every expression before macro-expansion |
| x | display information about experimental features |
| D | when printing nodes, use node-tree output |
| N | show the real-name mapping table |
| U | show expressions after the secondary user pass |
| 0 | show database before lambda-lifting pass |
| L | show expressions after lambda-lifting |
| F | show output of ``easy'' FFI parser |
| 1 | show source expressions |
| 2 | show canonicalized expressions |
| 3 | show expressions converted into CPS |
| 4 | show database after each analysis pass |
| 5 | show expressions after each optimization pass |
| 6 | show expressions after each inlining pass |
| 7 | show expressions after complete optimization |
| 8 | show database after final analysis |
| 9 | show expressions after closure conversion |
-debug-level 0 is equivalent to -no-trace.
-debug-level 1 does nothing.
(require 'moremacros)
-optimize-level 0 does nothing.
-optimize-level 1 is equivalent to -optimize-leaf-routines -lambda-lift.
-optimize-level 2 is equivalent to -optimize-leaf-routines -lambda-lift -usual-integrations.
-optimize-level 3 is equivalent to -optimize-leaf-routines -lambda-lift -usual-integrations -unsafe.
-prelude "(declare (unit NAME))"
-prelude "(declare (uses NAME))"
The environment variable CHICKEN_OPTIONS can be set to a string with default command-line options for the compiler.
1 http://srfi.schemers.org/srfi-7/srfi-7.html