BF-it
BF-it copied to clipboard
Support octal and binary literals
Octal literals are defined as 0[0-7]+
Binary literals are defined as 0b[01]+
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!