Pascal like parser