-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathlox2.ini
More file actions
33 lines (28 loc) · 2.63 KB
/
lox2.ini
File metadata and controls
33 lines (28 loc) · 2.63 KB
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
; ini file for configuration of lox2 virtual machine and environment variables
[basic] ; Basic configuration
version = 2.2.0 ; Lox2 version(do not change this)
script = ; Default entry point script
path = ; Default library loading path
timezone = America/New_York ; Default timezone
[debug]
debugToken = 0 ; Enable(1) or disable(0) printing token streams
debugAst = 0 ; Enable(1) or disable(0) printing abstract syntax trees
debugSymtab = 0 ; Enable(1) or disable(0) printing symbol tables
debugTypetab = 0 ; Enable(1) or disable(0) printing type tables
debugCode = 0 ; Enable(1) or disable(0) printing generated bytecodes
[flag]
flagUnusedImport = 0 ; None(0), Warning(1), or Error(2) when an imported namespace/class/trait is unused.
flagUnusedVariable = 1 ; None(0), Warning(1), or Error(2) when a variable is declared but unused.
flagMutableVariable = 1 ; None(0), Warning(1), or Error(2) when a mutable variable is not modified.
flagUndefinedType = 1 ; None(0), Warning(1), or Error(2) when a type is used in type annotations but not defined.
[gc]
gcType = gen ; Type of garbage collector, only 'gen' is available for now
gcTotalHeapSize = 31457280 ; The default size for the total heap, once exceeded the system will run GC and may trigger out of memory error.
gcEdenHeapSize = 1048576 ; The default size for eden heap, once exceeded it will trigger GC and move live objects to young region.
gcYoungHeapSize = 3145728 ; The default size for young heap, once exceeded it will trigger GC and move live objects to old region.
gcOldHeapSize = 10485760 ; The default size for old heap, once exceeded it will trigger GC and move live objects to permanent region.
[marshal]
marshalEnabled = 1 ; Enable(1) or disable(0) bytecode marshaling, which can speed up subsequent runs of the same script by caching the compiled bytecode.
marshalFileWatch = 1 ; Enable(1) or disable(0) watching source files for changes when using marshaled bytecode, which can automatically invalidate the cache if the source file is modified.
marshalLineInfo = 1 ; Enable(1) or disable(0) including line information in the marshaled bytecode, which can be useful for debugging but may increase the size of the bytecode.
marshalOutputPath = ; The directory where marshaled bytecode files are stored, which should be writable by the application. If unspecified, it will use the same path as lox source files.