Implementation of basic abstract syntax tree