mirror of
https://github.com/Lyxminxx/binarian.git
synced 2026-10-11 20:57:41 +02:00
48 lines
1.3 KiB
Python
48 lines
1.3 KiB
Python
# Binarian
|
|
# Copyright (C) 2025 Sarahtonin & Lyxminx
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
alphabet = {
|
|
"a": "(00001)",
|
|
"b": "(00010)",
|
|
"c": "(00011)",
|
|
"d": "(00100)",
|
|
"e": "(00101)",
|
|
"f": "(00110)",
|
|
"g": "(00111)",
|
|
"h": "(01000)",
|
|
"i": "(01001)",
|
|
"j": "(01010)",
|
|
"k": "(01011)",
|
|
"l": "(01100)",
|
|
"m": "(01101)",
|
|
"n": "(01110)",
|
|
"o": "(01111)",
|
|
"p": "(10000)",
|
|
"q": "(10001)",
|
|
"r": "(10010)",
|
|
"s": "(10011)",
|
|
"t": "(10100)",
|
|
"u": "(10101)",
|
|
"v": "(10110)",
|
|
"w": "(10111)",
|
|
"x": "(11000)",
|
|
"y": "(11001)",
|
|
"z": "(11010)",
|
|
"æ": "(11011)",
|
|
"ø": "(11100)",
|
|
"å": "(11101)"
|
|
}
|