Adapting application to evaluate expressions