ast, parser: stylized, commented, var names tweaked

ast still contains to_string functions removed. symtab needs to be
reviewed