Implementing parser functions in parseme