usage: h dump <type> [files...]
dump the output of different parsing stages.
One of the following switches must be specified as <type>:
-1 --tokens Print a list of parsed tokens
-2 --layout Print the layout tree
-3 --values --layout + identifies built-in datatypes
Options:
-s --spaces Which characters to identify as space.
Defaults to " " (the space character only)
-c --comments The character sequence that starts single-line comments.
Defaults to ";;"
-O --opening-braces
The characters which make up opening braces.
Defaults to "([{"
-C --closing-braces
The characters which make up closing braces.
Defaults to ")]}"
-S --special Characters that are regarded special (i.e. tokens
in their own right).
Defaults to ",;"
-X --special-syntax
For which characters special layout rules should
be enabled. This will just enable/disable some
special parsing rules for "{" and the --special
characters.
Defaults to "{;"
-i --indent-token
What indents should be translated to.
Defaults to ";;"
-F --fold-specials
Which of the --special characters should be folded
(i.e. eliminate consecutive tokens)
Defaults to ";"
Examples:
h dump -T file.hy
cat file.hy | h dump -L