Probably not possible with ligatures/glyph variants but really cool would be grouping of numbers: In groups of three the first digit would be moved to the right and the last one to the left to simulate a narrow space as thousands separator.
They didn't use underscores because _100_000 is a valid identifier in C/C++.
Arbitrary bases aren't there.
1 000 000
and not do: 100 000 0
assuming its parsed left to right?And assume we only support 4-10 digit numbers, it would require e.g. 6 rules or so.
But substitutions are done left-to-right, that might be a problem