Syntax tree and Kernel evaluation in parser