Yhc/Debug flags

From HaskellWiki
< Yhc
Revision as of 17:11, 2 February 2006 by NeilMitchell (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Part of Yhc

(Download)

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.

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

Thoughts?