Simple snippet parser