CompileState for grappalang