initial support for texpr encoding
initial texpr decoding
add TypedExprTools