Module:Number systems/data

--

-- Symbol lookup tables for Module:Number systems.

return { ["case-insensitive regular"] = { min = 0, maxBase = 36, symbols = { [0] = "0", ["0"] = 0,           [1] = "1", ["1"] = 1,            [2] = "2", ["2"] = 2,            [3] = "3", ["3"] = 3,            [4] = "4", ["4"] = 4,            [5] = "5", ["5"] = 5,            [6] = "6", ["6"] = 6,            [7] = "7", ["7"] = 7,            [8] = "8", ["8"] = 8,            [9] = "9", ["9"] = 9,            [10] = "A", ["A"] = 10, ["a"] = 10, [11] = "B", ["B"] = 11, ["b"] = 11, [12] = "C", ["C"] = 12, ["c"] = 12, [13] = "D", ["D"] = 13, ["d"] = 13, [14] = "E", ["E"] = 14, ["e"] = 14, [15] = "F", ["F"] = 15, ["f"] = 15, [16] = "G", ["G"] = 16, ["g"] = 16, [17] = "H", ["H"] = 17, ["h"] = 17, [18] = "I", ["I"] = 18, ["i"] = 18, [19] = "J", ["J"] = 19, ["j"] = 19, [20] = "K", ["K"] = 20, ["k"] = 20, [21] = "L", ["L"] = 21, ["l"] = 21, [22] = "M", ["M"] = 22, ["m"] = 22, [23] = "N", ["N"] = 23, ["n"] = 23, [24] = "O", ["O"] = 24, ["o"] = 24, [25] = "P", ["P"] = 25, ["p"] = 25, [26] = "Q", ["Q"] = 26, ["q"] = 26, [27] = "R", ["R"] = 27, ["r"] = 27, [28] = "S", ["S"] = 28, ["s"] = 28, [29] = "T", ["T"] = 29, ["t"] = 29, [30] = "U", ["U"] = 30, ["u"] = 30, [31] = "V", ["V"] = 31, ["v"] = 31, [32] = "W", ["W"] = 32, ["w"] = 32, [33] = "X", ["X"] = 33, ["x"] = 33, [34] = "Y", ["Y"] = 34, ["y"] = 34, [35] = "Z", ["Z"] = 35, ["z"] = 35 }   },    ["case-sensitive regular"] = { min = 0, maxBase = 64, symbols = { [0] = "0", ["0"] = 0,           [1] = "1", ["1"] = 1,            [2] = "2", ["2"] = 2,            [3] = "3", ["3"] = 3,            [4] = "4", ["4"] = 4,            [5] = "5", ["5"] = 5,            [6] = "6", ["6"] = 6,            [7] = "7", ["7"] = 7,            [8] = "8", ["8"] = 8,            [9] = "9", ["9"] = 9,            [10] = "A", ["A"] = 10, [11] = "B", ["B"] = 11, [12] = "C", ["C"] = 12, [13] = "D", ["D"] = 13, [14] = "E", ["E"] = 14, [15] = "F", ["F"] = 15, [16] = "G", ["G"] = 16, [17] = "H", ["H"] = 17, [18] = "I", ["I"] = 18, [19] = "J", ["J"] = 19, [20] = "K", ["K"] = 20, [21] = "L", ["L"] = 21, [22] = "M", ["M"] = 22, [23] = "N", ["N"] = 23, [24] = "O", ["O"] = 24, [25] = "P", ["P"] = 25, [26] = "Q", ["Q"] = 26, [27] = "R", ["R"] = 27, [28] = "S", ["S"] = 28, [29] = "T", ["T"] = 29, [30] = "U", ["U"] = 30, [31] = "V", ["V"] = 31, [32] = "W", ["W"] = 32, [33] = "X", ["X"] = 33, [34] = "Y", ["Y"] = 34, [35] = "Z", ["Z"] = 35, [36] = "a", ["a"] = 36, [37] = "b", ["b"] = 37, [38] = "c", ["c"] = 38, [39] = "d", ["d"] = 39, [40] = "e", ["e"] = 40, [41] = "f", ["f"] = 41, [42] = "g", ["g"] = 42, [43] = "h", ["h"] = 43, [44] = "i", ["i"] = 44, [45] = "j", ["j"] = 45, [46] = "k", ["k"] = 46, [47] = "l", ["l"] = 47, [48] = "m", ["m"] = 48, [49] = "n", ["n"] = 49, [50] = "o", ["o"] = 50, [51] = "p", ["p"] = 51, [52] = "q", ["q"] = 52, [53] = "r", ["r"] = 53, [54] = "s", ["s"] = 54, [55] = "t", ["t"] = 55, [56] = "u", ["u"] = 56, [57] = "v", ["v"] = 57, [58] = "w", ["w"] = 58, [59] = "x", ["x"] = 59, [60] = "y", ["y"] = 60, [61] = "z", ["z"] = 61, [62] = "+", ["+"] = 62,           [63] = "/", ["/"] = 63        }    },    -- @TODO is it too confusing to use the characters [0-9] as symbols here? ["case-insensitive zeroless"] = { min = 1, maxBase = 36, symbols = { [1] = "A", ["A"] = 1, ["a"] = 1, [2] = "B", ["B"] = 2, ["b"] = 2, [3] = "C", ["C"] = 3, ["c"] = 3, [4] = "D", ["D"] = 4, ["d"] = 4, [5] = "E", ["E"] = 5, ["e"] = 5, [6] = "F", ["F"] = 6, ["f"] = 6, [7] = "G", ["G"] = 7, ["g"] = 7, [8] = "H", ["H"] = 8, ["h"] = 8, [9] = "I", ["I"] = 9, ["i"] = 9, [10] = "J", ["J"] = 10, ["j"] = 10, [11] = "K", ["K"] = 11, ["k"] = 11, [12] = "L", ["L"] = 12, ["l"] = 12, [13] = "M", ["M"] = 13, ["m"] = 13, [14] = "N", ["N"] = 14, ["n"] = 14, [15] = "O", ["O"] = 15, ["o"] = 15, [16] = "P", ["P"] = 16, ["p"] = 16, [17] = "Q", ["Q"] = 17, ["q"] = 17, [18] = "R", ["R"] = 18, ["r"] = 18, [19] = "S", ["S"] = 19, ["s"] = 19, [20] = "T", ["T"] = 20, ["t"] = 20, [21] = "U", ["U"] = 21, ["u"] = 21, [22] = "V", ["V"] = 22, ["v"] = 22, [23] = "W", ["W"] = 23, ["w"] = 23, [24] = "X", ["X"] = 24, ["x"] = 24, [25] = "Y", ["Y"] = 25, ["y"] = 25, [26] = "Z", ["Z"] = 26, ["z"] = 26, [27] = "0", ["0"] = 27,           [28] = "1", ["1"] = 28,            [29] = "2", ["2"] = 29,            [30] = "3", ["3"] = 30,            [31] = "4", ["4"] = 31,            [32] = "5", ["5"] = 32,            [33] = "6", ["6"] = 33,            [34] = "7", ["7"] = 34,            [35] = "8", ["8"] = 35,            [36] = "9", ["9"] = 36        }    },    ["case-sensitive zeroless"] = { min = 1, maxBase = 64, symbols = { [1] = "A", ["A"] = 1, [2] = "B", ["B"] = 2, [3] = "C", ["C"] = 3, [4] = "D", ["D"] = 4, [5] = "E", ["E"] = 5, [6] = "F", ["F"] = 6, [7] = "G", ["G"] = 7, [8] = "H", ["H"] = 8, [9] = "I", ["I"] = 9, [10] = "J", ["J"] = 10, [11] = "K", ["K"] = 11, [12] = "L", ["L"] = 12, [13] = "M", ["M"] = 13, [14] = "N", ["N"] = 14, [15] = "O", ["O"] = 15, [16] = "P", ["P"] = 16, [17] = "Q", ["Q"] = 17, [18] = "R", ["R"] = 18, [19] = "S", ["S"] = 19, [20] = "T", ["T"] = 20, [21] = "U", ["U"] = 21, [22] = "V", ["V"] = 22, [23] = "W", ["W"] = 23, [24] = "X", ["X"] = 24, [25] = "Y", ["Y"] = 25, [26] = "Z", ["Z"] = 26, [27] = "a", ["a"] = 27, [28] = "b", ["b"] = 28, [29] = "c", ["c"] = 29, [30] = "d", ["d"] = 30, [31] = "e", ["e"] = 31, [32] = "f", ["f"] = 32, [33] = "g", ["g"] = 33, [34] = "h", ["h"] = 34, [35] = "i", ["i"] = 35, [36] = "j", ["j"] = 36, [37] = "k", ["k"] = 37, [38] = "l", ["l"] = 38, [39] = "m", ["m"] = 39, [40] = "n", ["n"] = 40, [41] = "o", ["o"] = 41, [42] = "p", ["p"] = 42, [43] = "q", ["q"] = 43, [44] = "r", ["r"] = 44, [45] = "s", ["s"] = 45, [46] = "t", ["t"] = 46, [47] = "u", ["u"] = 47, [48] = "v", ["v"] = 48, [49] = "w", ["w"] = 49, [50] = "x", ["x"] = 50, [51] = "y", ["y"] = 51, [52] = "z", ["z"] = 52, [53] = "0", ["0"] = 53,           [54] = "1", ["1"] = 54,            [55] = "2", ["2"] = 55,            [56] = "3", ["3"] = 56,            [57] = "4", ["4"] = 57,            [58] = "5", ["5"] = 58,            [59] = "6", ["6"] = 59,            [60] = "7", ["7"] = 60,            [61] = "8", ["8"] = 61,            [62] = "9", ["9"] = 62,            [63] = "+", ["+"] = 63,            [64] = "/", ["/"] = 64        }    } } -- -- (Add categories here.)