Xome Interview Question

how do you implement a parser?