Cargo Features

lox-lang has no features set by default.

[dependencies]
lox-lang = { version = "0.0.3", features = ["trace-scanning", "trace-compilation", "trace-execution", "trace-gc", "stress-test-gc"] }
trace-scanning

log messages from scanner

trace-compilation

log messages during compilation

trace-execution

log debug traces of each instruction at runtime

trace-gc

log garbage collection activity

stress-test-gc

run garbage collector on every allocation