trying out to write a tiny parser