Just wonder, if we make an type-safe interpreter, and it support numeric types respectively...
Should we write operations like addition, substraction, etc... FOR EACH numeric types?
A little bit HARD WORK I think.Code:char add(char a, char b) ... char add(short a, char b) ... char add(int a, char b) ...
Anyone experienced on this?
Any better solution?