add fold_expr function
support type cast
Merge pull request #18 from wasabiz/master

support cast expression