feat($parse): support the ternary/conditional operator

Closes #272