finish syntax parser