#!env python
# vim: set fileencoding=utf8
# Created:20080216
# By Jeff Connelly
#
# Trinary-related symbols
# See http://jeff.tk/wiki/Trinary/Symbols
# Note: to print, .encode('utf8') first
#
# MORE IMPORTANT NOTE: This isn't needed most of the time.
# Instead, just use the Unicode symbols directly. You can
# do this if the second line of the file is:
#   # vim: set fileencoding=utf8

# TODO: Use literal values, actual characters, not escape

# Trinary.cc-based unary
ROTATE_UP = u"\u2229"
ROTATE_DN = u"\u222a"
SHIFT_UP = u"\u2197"
SHIFT_DN = u"\2198"
INVERT = u"/"

# Mouftah-based unary
FD = u"\u00ac"
RD = u"\u2310"
PTI = u"\u2518";        PTI2 = u"\u2518"
NTI = u"\u2207";        NTI2 = u"\u2514"
STI = u"/"

# TODO: dyadic

# Balanced base 9
NONARY = {
        -1: u"\u2460",
        -2: u"\u2461",
        -3: u"\u2462",
        -4: u"\u2463",
        0: u"0",
        1: u"1",
        2: u"2",
        3: u"3",
        4: u"4"}

