core: get rid of wchar_t related function, improve expression feature, continue to implement expression simplifier