grammar to document (telements recreation using full parser)
grammar to document (tree structure)