19 lines
712 B
Lua
19 lines
712 B
Lua
local lovely = require("lovely")
|
|
local nativefs = require("nativefs")
|
|
BaseLetterNotation = nativefs.load(lovely.mod_dir.."/Talisman/big-num/notations/baseletternotation.lua")()
|
|
|
|
CyrillicNotation = {}
|
|
CyrillicNotation.__index = LetterNotation
|
|
setmetatable(CyrillicNotation, BaseLetterNotation)
|
|
CyrillicNotation.__tostring = function () return "CyrillicNotation" end
|
|
|
|
function CyrillicNotation:new(opt)
|
|
opt = opt or {}
|
|
return setmetatable({
|
|
letters = "~абвгдежзиклмнопстуфхцчшщэюяАБВГДЕЖЗИКЛМНОПСТУФХЦЧШЩЭЮЯ",
|
|
dynamic = opt.dynamic or false,
|
|
reversed = opt.reversed or false
|
|
}, CyrillicNotation)
|
|
end
|
|
|
|
return CyrillicNotation |