Compact generator output support

When compact: true is specified, generator should be formatted as
`function*test(){...}`.