reworked parser added syntax analyzer