Playing with push-down automaton parser and AST manipulation