Skip to content

options

Boris Batkin edited this page Jan 15, 2019 · 16 revisions

Multiple options can be listed in a single options expression. Later options overwrite earlier options. Typical options expression looks something like this

options log=true, optimize=false

optimize=true
enables or disables all optimization passes

log=false
outputs final program code

logGenertics=false
outputs generics, as opposed to instanced functions only

logStack=false
outputs stack allocation for each function

logMem=false
outputs memory usage per heap (code, debugInfo, regular heap)

logOptimizationPasses=false
outputs program code for each intermediate optimization pass

logInferPasses=false
outputs program code for each intermediate type inference pass

printRef=false
when logging, outputs expression dereferencing information

printVarAccess=false
when logging, outputs variable initialize, read, or write access markers

plot=false
outputs .dot file corresponding to programs' flow chart

plotReadWrite=false
plot output will contain additional data dependency arrows

Clone this wiki locally