Syntax checker and debugger