Basic parser implementation