Skip to content

yilkalargaw/geezify-lua

Repository files navigation

Geezify-Lua

geezifylua is a luarock (i.e. a package for the lua programming language) that converts geez-script numbers to arabic and viceversa. You could read more about the number system at https://www.geez.org.

Installation

luarocks install geezifylua

Usage

geezifylua = require "geezifylua""
geezifylua.geezify.geezify(12)                   #=> '፲፪'
geezifylua.geezify.geezify(3033)                 #=> '፴፻፴፫'
geezifylua.geezify.geezify(100200000)            #=> '፼፳፼'
geezifylua.geezify.geezify(333333333)            #=> '፫፼፴፫፻፴፫፼፴፫፻፴፫'
geezifylua.arabify.arabify('፲፪')                 #=> 12
geezifylua.arabify.arabify('፴፻፴፫')               #=> 3033
geezifylua.arabify.arabify('፼፳፼')                #=> 100200000
geezifylua.arabify.arabify('፫፼፴፫፻፴፫፼፴፫፻፴፫')      #=> 333333333

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/yilkalargaw/geezify-lua. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

This lua-rock is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the geezify-lua project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

About

a lua module to convert between geez and arab numbers

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages