Difference between revisions of "Yhc/Debug flags"

From HaskellWiki
< Yhc
Jump to: navigation, search
m (To be deleted: YHC not currently in development)
(2 intermediate revisions by 2 users not shown)
Line 12: Line 12:
[[Category:Pages to be removed]]

Latest revision as of 02:11, 9 April 2021

Part of Yhc


A number of debug flags are available to help when hacking the compiler. These have varying names and are numerous, I propose a change. This page documents the proposed change, not the existing set of flags.


-code=* - show the code at all available stages. Values such as -code=rename,type would show the code at the rename and type stages.

-st=... - same as code, for the symbol table

-bc=... - same as byte code, but different values for the stages