When defining a type one can specify multiple numbers separated by |.
typeTTerminalColors=0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15;
Allow to specify number types as ranges, instead of listing each number:
typeTTerminalColors=0..15;typeTRgbColorComponent=0..255;typeTUInt=0..4294967295;
Maybe use .. for integers and ... for floats.
interfaceMath{random(): 0...1}typeRandomDice=1..6;constroll: RandomDice=Math.floor(Math.random()*6);// Error: -------------------------^ Maybe use Math.ceil()?
When defining a type one can specify multiple numbers separated by
|.Allow to specify number types as ranges, instead of listing each number:
Maybe use
..for integers and...for floats.