I think what i did is self-explanatory, we keep getting characters until we bump into an e, the we check if the next characters is allowed (i.e is +, - or simply a number), and then we keep getting numbers, if the nextCh is not a number then we return a tokens whose value is the scientific notation translated into a real type
Would it be a good idea if 0xab2 and 0b10101 also translated this way ?
I think what i did is self-explanatory, we keep getting characters until we bump into an e, the we check if the next characters is allowed (i.e is +, - or simply a number), and then we keep getting numbers, if the nextCh is not a number then we return a tokens whose value is the scientific notation translated into a real type Would it be a good idea if 0xab2 and 0b10101 also translated this way ?