core: redesign how the data are read or written in expression, add more basic integer types (up to 1024-bit)