What is to be done:
error
. Read the
Bison documentation about it.
ast::FunctionDecs
, ast::VarDecs
, and ast::TypeDecs
;
they are implemented thanks to ast::AnyDecs
).
DefaultVisitor
class, the neutral traversals of
ASTs. The DefaultVisitor
must be a sound basis for
your further work on the Tiger compiler.
PrintVisitor
class must be written entirely.