equation parser