-
Notifications
You must be signed in to change notification settings - Fork 1
/
clox.ini
25 lines (21 loc) · 1.46 KB
/
clox.ini
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
; ini file for configuration of clox virtual machine and environment variables
[basic] ; Basic configuration
version = 2.0.0 ; CLox version(do not change this)
script = ; Default script file
path = ; Default script 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 tree
debugSymtab = 0 ; Enable(1) or disable(0) printing symbol table
debugTypetab = 0 ; Enable(1) or disable(0) printing type table
debugCode = 0 ; Enable(1) or disable(0) printing generated bytecode
[flag]
flagUnusedImport = 1 ; 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.
[gc]
gcType = trace ; Type of garbage collector, only 'trace' is available for now
gcHeapSize = 1048576 ; The default heap size that GC is triggered for the first time
gcGrowthFactor = 2 ; The growth factor for GC heap when memory usage exceeds heap size
gcStressMode = 0 ; Enable(1) or disable(0) GC stress mode