Specified how to define grammars with layout annotations.