There is no way to declare an integer using a binary literal.
It is easier to use binary literal notation for several use cases. For example, when using bitmasks, it’s more readable to write
0x3f. It probably makes sense to include support for octal literals as well.
I’m not familiar enough with the codebase or the language to give a good specification. But binary literals should be supported wherever hex or decimal literals are.
Shouldn’t be backwards incompatible.