export parse function directly

Since the parser exports only has the .parse method, we could export it directly.