Manual gramática e shunting yard