class RPL:
	pass

#
#		PCode constants after preprocessing
#
RPL.PCODE_PLING = 0
RPL.PCODE_HASH = 2
RPL.PCODE_DOLLAR = 3
RPL.PCODE_PERCENT = 4
RPL.PCODE_AMPERSAND = 5
RPL.PCODE_FOR = 6
RPL.PCODE_NEXT = 7
RPL.PCODE_INPUT = 10
RPL.PCODE_MINUS = 12
RPL.PCODE_DOT = 13
RPL.PCODE_GOTO = 14
RPL.PCODE_IF = 16
RPL.PCODE_RETURN = 19
RPL.PCODE_STOP = 21
RPL.PCODE_RND = 25
RPL.PCODE_SEMICOLON = 26
RPL.PCODE_POKE = 28
RPL.PCODE_PRINT = 30
RPL.PCODE_AT = 31
RPL.PCODE_PEEK = 32
RPL.PCODE_CLR = 33
RPL.PCODE_STRDOLLAR = 34
RPL.PCODE_SYS = 35
RPL.PCODE_CHRDOLLAR = 37
RPL.PCODE_GET = 38
RPL.PCODE_NEW = 39
RPL.PCODE_FN = 42
RPL.PCODE_THEN = 44
RPL.PCODE_NOT = 45
RPL.PCODE_PLUS = 47
RPL.PCODE_ASTERISK = 49
RPL.PCODE_SLASH = 50
RPL.PCODE_HAT = 51
RPL.PCODE_AND = 52
RPL.PCODE_OR = 53
RPL.PCODE_GREATER = 54
RPL.PCODE_EQUAL = 55
RPL.PCODE_LESS = 56
RPL.PCODE_INT = 58
RPL.PCODE_BACKSLASH = 59
#
#		BASIC Program token constants
#
RPL.PGM_SPACE = 32
RPL.PGM_PLING = 33
RPL.PGM_DQUOTE = 34
RPL.PGM_HASH = 35
RPL.PGM_DOLLAR = 36
RPL.PGM_PERCENT = 37
RPL.PGM_AMPERSAND = 38
RPL.PGM_SQUOTE = 39
RPL.PGM_LPAREN = 40
RPL.PGM_RPAREN = 41
RPL.PGM_COMMA = 44
RPL.PGM_MINUS = 45
RPL.PGM_DOT = 46
RPL.PGM_COLON = 58
RPL.PGM_SEMICOLON = 59
RPL.PGM_AT = 64
RPL.PGM_LSQPAREN = 91
RPL.PGM_BACKSLASH = 92
RPL.PGM_RSQPAREN = 93
RPL.PGM_END = 128
RPL.PGM_FOR = 129
RPL.PGM_NEXT = 130
RPL.PGM_INPUT = 133
RPL.PGM_GOTO = 137
RPL.PGM_IF = 139
RPL.PGM_RETURN = 142
RPL.PGM_STOP = 144
RPL.PGM_POKE = 151
RPL.PGM_PRINT = 153
RPL.PGM_CLR = 156
RPL.PGM_SYS = 158
RPL.PGM_GET = 161
RPL.PGM_NEW = 162
RPL.PGM_FN = 165
RPL.PGM_THEN = 167
RPL.PGM_NOT = 168
RPL.PGM_PLUS = 170
RPL.PGM_ASTERISK = 172
RPL.PGM_SLASH = 173
RPL.PGM_HAT = 174
RPL.PGM_AND = 175
RPL.PGM_OR = 176
RPL.PGM_GREATER = 177
RPL.PGM_EQUAL = 178
RPL.PGM_LESS = 179
RPL.PGM_INT = 181
RPL.PGM_RND = 187
RPL.PGM_PEEK = 194
RPL.PGM_STRDOLLAR = 196
RPL.PGM_CHRDOLLAR = 199
#
#		PETSCII or Token to P-Code conversion
#
RPL.ADJ_CHANGETOKENSAT = 187
RPL.ADJ_TOKENSBY = -39
RPL.ADJ_CHANGECHARS = -33
RPL.ADJ_CHANGETOKENS = -123
#
#		Bit flags for PETSCII/Tokens 32-208 indicating if valid syntax
#
RPL.SYNTAXCHECK = [255, 206, 0, 48, 128, 0, 0, 28, 0, 0, 0, 0, 228, 82, 129, 74, 101, 175, 244, 16, 41, 0]
