's default starting behaviour may be modified in two ways ...
- Command Line Arguments
- The interpreter recognises a number of command line arguments which
are basically -heap, -stack-space and -do but you didn't want to know that. Actually:
- -heap n
- The size of heap to use (in megabytes if n < 50, else
bytes). Feel needs at least a 1.5 meg heap.
- -do cmds
- A list of things to do on startup
- -stack-space n
- Amount of storage to allocate for stacks and
static data. This defaults to 1, but should be more for programs
that use threads.
- -boot
- Name of bytecode image file to load. See later
- -map
- Produce bytecode map. See later.
- -procs n
- Start up using n processors. Works in SystemV
configuration only.
- -stack-size
- The size of the interpreter stack. Default 32,
max is 64. it should note be necessary to change this unless your
program stops with a stack-overflow message. Beware that an
infinite non-tail recursion problem may also trigger this message.
- A Configuration File
- Having first processed its command line arguments, then looks
for a file called .feelrc in the $HOME directory of the
user3. If found,
the file is read and the expressions within executed as if entered at
top level.