added condition syntax checl
finished basic frontend, see todo for next steps