-
Notifications
You must be signed in to change notification settings - Fork 1
/
foment.text
109 lines (82 loc) · 3.25 KB
/
foment.text
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
Usage:
foment <option> ... [--] <program> <program-arg> ...
-A <directory>
--append <directory>
Append the specified directory to the list of directories to search
when loading libraries.
-I <directory>
--prepend <directory>
Prepend the specified directory to the list of directories to search
when loading libraries.
-X <extension>
--extension <extension>
Add the specified extension to the list of filename extensions to try
when loading libraries.
--verbose
Turn on verbose logging.
--random-seed <seed>
Use the specified seed for the random number generator; otherwise the
current time is used.
-h
-?
--help
--usage
Prints out the usage information for foment.
--version
Prints out the current version number of foment.
--no-collector
No garbage collector.
--mark-sweep
Use the mark and sweep garbage collector.
--generational
Use the generational + mark and sweep garbage collector.
--check-heap
Check the heap before and after garbage collection.
--maximum-stack-size <number-of-bytes>
Use the specified number-of-bytes as the maximum stack size for each
thread.
--maximum-babies-size <number-of-bytes>
Use the specified number-of-bytes as the maximum size of generation
zero for each thread.
--maximum-kids-size <number-of-bytes>
Use the specified number-of-bytes as the maximum size of generation
one; this space is shared by all threads.
--maximum-adults-size <number-of-bytes>
Use the specified number-of-bytes as the maximum size of the mark and
sweep generation.
--maximum-generational-baby <number-of-bytes>
When using the generational collector, new objects larger than the
specified number-of-bytes are allocated in the mark and sweep
generation rather than generation zero.
--trigger-bytes <number-of-bytes>
Trigger garbage collection after at least the specified
number-of-bytes have been allocated since the last collection
--trigger-objects <number-of-objects>
Trigger garbage collection after at least the specified
number-of-objects have been allocated since the last collection
--partial-per-full <number>
Perform the specified number of partial garbage collections
before performing a full collection.
-b
--batch
Run foment in batch mode: standard input is treated as a program.
-i
--interactive
--repl
Run foment in an interactive session (repl).
-l <filename>
--load <filename>
Load the specified filename using the scheme procedure, load.
-p <expression>
--print <expression>
Evaluate and print the results of the specified expression.
-e <expression>
--eval <expression>
--evaluate <expression>
Evaluate the specified expression.
Notes:
Program mode is assumed unless there is no <program> or at
least one of -i (--interactive, --repl), -p (--print), or -e
(--eval, --evaluate) are specified.
Use -- to indicate the end of options; this is unnecessary in
program mode unless <program> starts with - or --.