Walter Bright wrote:
Yigal Chripun wrote:in the long term, I'd like to see a more general syntax that allows to write numbers in any base.something like: [base]n[number] - e.g. 16nA0FF, 2n0101, 18nGH129, etc. also define syntax to write a list of digits:1024n[1005, 452, 645, 16nFFF] // each digit can also be defined in arbitrary baseIs there any language that does this?
It's trivial to do that with CTFE!