Real time syntax checking