[driver,parser] fix deprecation warnings
[parser] add conditional expression
[builder] add conditional expression