Open NeeEoo opened 3 years ago
Good idea! Need to add it to lexical analyzer and get_NUM_token_value function
Let's make octal like Python: 0o[0-7]+
lol no need to do anything it already does support octals and stuff
This is talking about integers.
int octal = 0b635;
int binary = 0b1101010;
Oh, sorry!
Octal literals are defined as
0[0-7]+
Binary literals are defined as0b[01]+