parse-expr function ready for parsing all expr

also resources added