LabelCompiler example: convert an expression to a formatted string.